aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
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 66df737845..b13ad98999 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -796,7 +796,7 @@ fn f() {
const y = if true { 1 as i32 };
}
)SOURCE", 2, ".tmp_source.zig:3:21: error: expected type 'i32', got 'void'",
- ".tmp_source.zig:4:15: error: ambiguous expression type: 'i32' vs 'void'");
+ ".tmp_source.zig:4:15: error: incompatible types: 'i32' and 'void'");
}
static void print_compiler_invocation(TestCase *test_case) {