mirror of
https://github.com/ziglang/zig.git
synced 2025-02-14 16:40:17 +00:00
update test case for init-exe with respect to new template
Now it uses std.log.info instead of std.debug.print
This commit is contained in:
parent
70d7d7e919
commit
21b407b17f
@ -98,7 +98,7 @@ fn testZigInitLib(zig_exe: []const u8, dir_path: []const u8) !void {
|
||||
fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void {
|
||||
_ = try exec(dir_path, &[_][]const u8{ zig_exe, "init-exe" });
|
||||
const run_result = try exec(dir_path, &[_][]const u8{ zig_exe, "build", "run" });
|
||||
testing.expect(std.mem.eql(u8, run_result.stderr, "All your codebase are belong to us.\n"));
|
||||
testing.expect(std.mem.eql(u8, run_result.stderr, "info: All your codebase are belong to us.\n"));
|
||||
}
|
||||
|
||||
fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {
|
||||
|
Loading…
Reference in New Issue
Block a user