File tree Expand file tree Collapse file tree
de.peeeq.wurstscript/src/test/java/tests/wurstscript/tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments