From 21b407b17f25001b70bbd847f9b2d2782866597c Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 25 Sep 2020 18:21:21 -0700 Subject: [PATCH] update test case for init-exe with respect to new template Now it uses std.log.info instead of std.debug.print --- test/cli.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cli.zig b/test/cli.zig index 77d79ed98e..b9de23e250 100644 --- a/test/cli.zig +++ b/test/cli.zig @@ -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 {