authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-25 18:21:21-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-25 18:21:21-07:00
log21b407b17f25001b70bbd847f9b2d2782866597c
treea6553287cf25f33257467f7d4039466fda4cecff
parent70d7d7e919d7f297e63ca421f6be5925259136e2

update test case for init-exe with respect to new template

Now it uses std.log.info instead of std.debug.print

1 files changed, 1 insertions(+), 1 deletions(-)

test/cli.zig+1-1
......@@ -98,7 +98,7 @@ fn testZigInitLib(zig_exe: []const u8, dir_path: []const u8) !void {
9898fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void {
9999 _ = try exec(dir_path, &[_][]const u8{ zig_exe, "init-exe" });
100100 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"));
102102}
103103
104104fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {