aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/cc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/cc/parser')
-rw-r--r--unit-tests/cc/parser/module.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/unit-tests/cc/parser/module.test b/unit-tests/cc/parser/module.test
index f85c969..f2bbaf1 100644
--- a/unit-tests/cc/parser/module.test
+++ b/unit-tests/cc/parser/module.test
@@ -88,7 +88,7 @@ EOO
: brace-missing
:
-$* <<EOI 2>>EOE
+$* <<EOI 2>>EOE != 0
export
{
class foo
@@ -97,12 +97,12 @@ export
module foo;
}
EOI
-stdin:8:1: warning: {}-imbalance detected
+stdin:8:1: error: {}-imbalance detected
EOE
: brace-stray
:
-$* <<EOI 2>>EOE
+$* <<EOI 2>>EOE != 0
export
{
class foo
@@ -111,7 +111,7 @@ export
}
module foo;
EOI
-stdin:6:1: warning: {}-imbalance detected
+stdin:6:1: error: {}-imbalance detected
EOE
: import-missing-name