| ... | ... | @@ -104,7 +104,8 @@ fn testZigInitLib(zig_exe: []const u8, dir_path: []const u8) !void { |
| 104 | 104 | fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void { |
| 105 | 105 | _ = try exec(dir_path, true, &[_][]const u8{ zig_exe, "init-exe" }); |
| 106 | 106 | const run_result = try exec(dir_path, true, &[_][]const u8{ zig_exe, "build", "run" }); |
| 107 | | try testing.expectEqualStrings("info: All your codebase are belong to us.\n", run_result.stderr); |
| 107 | try testing.expectEqualStrings("All your codebase are belong to us.\n", run_result.stderr); |
| 108 | try testing.expectEqualStrings("Run `zig build test` to run the tests.\n", run_result.stdout); |
| 108 | 109 | } |
| 109 | 110 | |
| 110 | 111 | fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void { |