aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-24 12:01:51 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-24 12:01:51 -0400
commit8a7737eef4f9f5fd3e6d318b6985e1bf6a364438 (patch)
tree3632b1afce3e4d7fd54eb744a1c7715dc294b2f3 /test/cli.zig
parent6d048aa3bfabf43da40966b01d8a4717bd8fe9b7 (diff)
downloadzig-8a7737eef4f9f5fd3e6d318b6985e1bf6a364438.tar.gz
zig-8a7737eef4f9f5fd3e6d318b6985e1bf6a364438.zip
fix godbolt cli test on non-linux-x86_64 hosts
Diffstat (limited to 'test/cli.zig')
-rw-r--r--test/cli.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cli.zig b/test/cli.zig
index 45e961053b..5a2a51bbfd 100644
--- a/test/cli.zig
+++ b/test/cli.zig
@@ -96,7 +96,7 @@ fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void {
assertOrPanic(std.mem.eql(u8, run_result.stderr, "All your base are belong to us.\n"));
}
-fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) !void {
+fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) error!void {
if (builtin.os != builtin.Os.linux or builtin.arch != builtin.Arch.x86_64) return;
const example_zig_path = try os.path.join(a, dir_path, "example.zig");