aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-11-24 19:24:52 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-11-24 19:24:52 -0500
commitce96323ba15309c08b868c442ef4511c244e2e83 (patch)
tree3b9e62f004389c2df2f2b4ccc648c59f56dfd939 /test/cli.zig
parent7eb5acdc800b6683e4f3ce9312f707e568bb641e (diff)
downloadzig-ce96323ba15309c08b868c442ef4511c244e2e83.tar.gz
zig-ce96323ba15309c08b868c442ef4511c244e2e83.zip
update cli test
Diffstat (limited to 'test/cli.zig')
-rw-r--r--test/cli.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cli.zig b/test/cli.zig
index 6095536422..e6d8d08e84 100644
--- 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 {