commit e397ea43c046d22cc640c973e5ba848482a2a823 (tree)
parent 3239b3cb6957aa5f5f04c9d7d9035da14ccd0741
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Mon, 19 Sep 2016 20:19:02 -0400
tests: correct test name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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();
}