diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java index a53d6a8ee..7704e9d8d 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java +++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java @@ -757,7 +757,7 @@ public class TestPrograms { @Test public void testStructError6() throws IOException, URISyntaxException { - compileAndCompare("struct-error-6"); + assertError("struct-error-6", "Initializer cannot initialize"); } @Test