From 259f407160f84a1bf33c1aa7bd10318213f52ddf Mon Sep 17 00:00:00 2001 From: Loris Cro Date: Fri, 5 Aug 2022 00:42:53 +0200 Subject: [PATCH] init-exe template: align cli tests to new template --- test/cli.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cli.zig b/test/cli.zig index 7c0238e771..979478c786 100644 --- a/test/cli.zig +++ b/test/cli.zig @@ -104,7 +104,8 @@ 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, true, &[_][]const u8{ zig_exe, "init-exe" }); const run_result = try exec(dir_path, true, &[_][]const u8{ zig_exe, "build", "run" }); - try testing.expectEqualStrings("info: All your codebase are belong to us.\n", run_result.stderr); + try testing.expectEqualStrings("All your codebase are belong to us.\n", run_result.stderr); + try testing.expectEqualStrings("Run `zig build test` to run the tests.\n", run_result.stdout); } fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {