aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-19 20:19:02 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-19 20:19:02 -0400
commite397ea43c046d22cc640c973e5ba848482a2a823 (patch)
tree0c480b69da834ea6dd23cdaa02d8c36f1df721fa
parent3239b3cb6957aa5f5f04c9d7d9035da14ccd0741 (diff)
downloadzig-e397ea43c046d22cc640c973e5ba848482a2a823.tar.gz
zig-e397ea43c046d22cc640c973e5ba848482a2a823.zip
tests: correct test name
-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 80e3c04f44..a7085a48af 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();
}