From 23feafdef0ff45e67ac63c7e220830c93b095e18 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 5 Jan 2017 19:25:36 -0500 Subject: pass more tests by removing assertion, fixing error column, and updating expected message --- test/run_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/run_tests.cpp') 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 { -- cgit v1.2.3