-Subproject commit 2a9afe545081756266000246a32193648f9b9618
+Subproject commit bd7f714f19c2c2e237cbe4cd6a74aa2cb2dd7206
-#! [contains] not allowed
+#! [contains] can't assign
class C extends Event{}
Event e @=> C o;
-#! [contains] no match found for operator
+#! [contains] can't cast
class C {}
class D {}
D d;
-#! [contains] no match found for operator
+#! [contains] can't cast
class C{}
class D{}
-#![contains] cant't assign
+#! [contains] can't assign
class C {
fun static void test(int i) { <<< "int arg" >>>; }
typedef void PtrType(int i);
-#![contains] macro already defined
+#! [contains] macro already defined
#define macro
#define macro
-#![contains] not enough arguments
+#! [contains] not enough arguments
#define macro(a, b) a, b
<<< macro(1) >>>;
-#![contains] too many arguments
+#! [contains] too many arguments
#define macro(a) a
<<< macro(1,2) >>>;
-#![contains] 'macro' defined"
-#![contains] 'macro' undefined (after undefining)"
+#! [contains] 'macro' defined
#define macro
#ifdef macro
<<< "'macro' defined" >>>;
-#![contains] end of text
+#! [contains] end of test
#define macro
macro
-#![contains] end of test
+#! [contains] end of test
#define macro(a,b)
macro(1,2);
-#![contains] 123
+#! [contains] 123
#define macro(...) __VA_ARGS__
<<< macro(1,2,3) >>>;
-#![contains] test
+#! [contains] test
#define macro "test"
<<< macro >>>;
-#![contains] test12
+#! [contains] test12
#define macro(a,b) "test", a, b
<<< macro(1,2) >>>;
-#![contains] file not found
+#! [contains] file not found
#include <non_existant_file>
-#![contains] tests/pp/header.gw
+#! [contains] tests/pp/header.gw
#include <tests/pp/header.gw>
-#![contains] undefined macro
+#! [contains] undefined macro
#undef macro
assert_contain() {
local contains
- contains=$(grep '// \[contains\]' "$1" | cut -d "]" -f2)
+ contains=$(grep '#! \[contains\]' "$1" | cut -d "]" -f2)
contains=${contains:1}
[ -z "$contains" ] && return 0
grep "$contains" "$2.err.log" > /dev/null && return 0