Skip to content

Commit 039b57c

Browse files
committed
#32 - List<Instances> should return in order of @priority (from javax.annotations)
1 parent e3c5dc0 commit 039b57c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/java/io/dinject/SystemContextTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public void getBeansUnsorted_withPriority() {
2626

2727
final List<Somei> beans = SystemContext.getBeansUnsorted(Somei.class);
2828
assertThat(beans).hasSize(2);
29-
30-
assertThat(beans.get(0)).isInstanceOf(ASomei.class);
31-
assertThat(beans.get(1)).isInstanceOf(BSomei.class);
29+
// can't assert bean order
3230
}
3331
}

0 commit comments

Comments
 (0)