diff options
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 339c9ed1d1..1e7da90682 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -1323,7 +1323,7 @@ fn f() i32 => { fn f() => { if (0) {} } - )SOURCE", 1, ".tmp_source.zig:3:9: error: expected type 'bool', got '(u8 literal)'"); + )SOURCE", 1, ".tmp_source.zig:3:9: error: value 0 cannot be represented in type 'bool'"); add_compile_fail_case("assign unreachable", R"SOURCE( fn f() => { |
