zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ce96323ba15309c08b868c442ef4511c244e2e83 (tree)
parent 7eb5acdc800b6683e4f3ce9312f707e568bb641e
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sun, 24 Nov 2019 19:24:52 -0500

update cli test

Diffstat:
Mtest/cli.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cli.zig b/test/cli.zig @@ -87,7 +87,7 @@ fn exec(cwd: []const u8, argv: []const []const u8) !ChildProcess.ExecResult { fn testZigInitLib(zig_exe: []const u8, dir_path: []const u8) !void { _ = try exec(dir_path, [_][]const u8{ zig_exe, "init-lib" }); const test_result = try exec(dir_path, [_][]const u8{ zig_exe, "build", "test" }); - testing.expect(std.mem.endsWith(u8, test_result.stderr, "All tests passed.\n")); + testing.expect(std.mem.endsWith(u8, test_result.stderr, "All 1 tests passed.\n")); } fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void {