Skip to content

Commit 3534686

Browse files
committed
Update GenericsWithTypeclassesTests.java
1 parent 40fa934 commit 3534686

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

de.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/GenericsWithTypeclassesTests.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ public void genericClassWithStaticMemberArray() {
20262026
public void fullArrayListTest() throws IOException {
20272027
test().withStdLib().executeProg().executeTests().file(new File(TEST_DIR + "arrayList.wurst"));
20282028

2029-
String compiled = Files.toString(new File(TEST_OUTPUT_PATH + "im 2_genericsEliminated.im"), Charsets.UTF_8);
2029+
String compiled = Files.toString(new File(TEST_OUTPUT_PATH + "GenericsWithTypeclassesTests_fullArrayListTest_no_opts.jim"), Charsets.UTF_8);
20302030
// Count 2 occurences of integer ArrayList_MAX_ARRAY_SIZE
20312031
String target = "integer ArrayList_MAX_ARRAY_SIZE";
20322032
int count = 0;
@@ -2038,11 +2038,7 @@ public void fullArrayListTest() throws IOException {
20382038

20392039
assertEquals(count, 2);
20402040

2041-
String compiled2 = Files.toString(new File(TEST_OUTPUT_PATH + "im 5_afterinline.im"), Charsets.UTF_8);
2042-
2043-
assertFalse(compiled2.contains("ArrayList_nextFreeIndex_"));
2044-
2045-
2041+
assertFalse(compiled.contains("ArrayList_nextFreeIndex_"));
20462042
}
20472043

20482044
@Test

0 commit comments

Comments
 (0)