aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-01-05 19:25:36 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-01-05 19:25:36 -0500
commit23feafdef0ff45e67ac63c7e220830c93b095e18 (patch)
treebfe39f0d5709d585b6d1e800ede2bf4d76b76872 /test/run_tests.cpp
parent28403eaad0c4da28ff31152edbe2af659b2af500 (diff)
downloadzig-23feafdef0ff45e67ac63c7e220830c93b095e18.tar.gz
zig-23feafdef0ff45e67ac63c7e220830c93b095e18.zip
pass more tests
by removing assertion, fixing error column, and updating expected message
Diffstat (limited to 'test/run_tests.cpp')
-rw-r--r--test/run_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp
index 2a2d4d640a..97f0c2a788 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -963,7 +963,7 @@ fn f() {
fn f() {
if (const x ?= true) { }
}
- )SOURCE", 1, ".tmp_source.zig:3:20: error: expected maybe type");
+ )SOURCE", 1, ".tmp_source.zig:3:20: error: expected nullable type, found 'bool'");
add_compile_fail_case("cast unreachable", R"SOURCE(
fn f() -> i32 {