From e397ea43c046d22cc640c973e5ba848482a2a823 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 19 Sep 2016 20:19:02 -0400 Subject: [PATCH] tests: correct test name --- test/run_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 80e3c04f4..a7085a48a 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -1386,7 +1386,7 @@ fn f() { } )SOURCE", 1, ".tmp_source.zig:4:19: error: type 'i8' has same or fewer bits than destination type 'i8'"); - add_compile_fail_case("truncate same bit count", R"SOURCE( + add_compile_fail_case("%return in function with non error return type", R"SOURCE( fn f() { %return something(); }