Commit 21b407b17f

Andrew Kelley <andrew@ziglang.org>
2020-09-26 03:21:21
update test case for init-exe with respect to new template
Now it uses std.log.info instead of std.debug.print
1 parent 70d7d7e
Changed files (1)
test
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 {