aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoam Preil <pleasantatk@gmail.com>2020-06-04 16:12:09 -0400
committerNoam Preil <pleasantatk@gmail.com>2020-06-15 20:33:17 -0400
commite77fc7fe7e3d6e5e4dc89bbc8fa95e65d4134b9f (patch)
treec12eb145645249cf3f4e04655dc15c782c78cc40 /test
parent6dce317fe39443278ee744e66118c6e9b6023615 (diff)
downloadzig-e77fc7fe7e3d6e5e4dc89bbc8fa95e65d4134b9f.tar.gz
zig-e77fc7fe7e3d6e5e4dc89bbc8fa95e65d4134b9f.zip
Stage2/Testing: Fix error specification
Diffstat (limited to 'test')
-rw-r--r--test/stage2/compile_errors.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stage2/compile_errors.zig b/test/stage2/compile_errors.zig
index 5c7a9e4554..78a00840a0 100644
--- a/test/stage2/compile_errors.zig
+++ b/test/stage2/compile_errors.zig
@@ -18,7 +18,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\@start = fn(@start_fnty, {
\\ %0 = call(%test, [])
\\})
- , &[_][]const u8{"error: 5:13: unrecognized identifier: %test"});
+ , &[_][]const u8{"5:13: error: unrecognized identifier: %test"});
// TODO: fix this test
// ctx.addZIRError("call with non-existent target", linux_x64,
@@ -45,7 +45,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\@0 = str("_start")
\\@1 = ref(@0)
\\@2 = export(@1, @start)
- , &[_][]const u8{"error: 4:9: unable to call function with naked calling convention"});
+ , &[_][]const u8{"4:9: error: unable to call function with naked calling convention"});
//try ctx.testCompileError(
// \\export fn entry() void {}