| ... | @@ -98,7 +98,7 @@ fn testZigInitLib(zig_exe: []const u8, dir_path: []const u8) !void { | ... | @@ -98,7 +98,7 @@ fn testZigInitLib(zig_exe: []const u8, dir_path: []const u8) !void { |
| 98 | fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void { | 98 | fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void { |
| 99 | _ = try exec(dir_path, &[_][]const u8{ zig_exe, "init-exe" }); | 99 | _ = try exec(dir_path, &[_][]const u8{ zig_exe, "init-exe" }); |
| 100 | const run_result = try exec(dir_path, &[_][]const u8{ zig_exe, "build", "run" }); | 100 | const run_result = try exec(dir_path, &[_][]const u8{ zig_exe, "build", "run" }); |
| 101 | testing.expect(std.mem.eql(u8, run_result.stderr, "All your codebase are belong to us.\n")); | 101 | testing.expect(std.mem.eql(u8, run_result.stderr, "info: All your codebase are belong to us.\n")); |
| 102 | } | 102 | } |
| 103 | | 103 | |
| 104 | fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void { | 104 | fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void { |