Skip to content

Commit

Permalink
Add test case for zigup default master
Browse files Browse the repository at this point in the history
  • Loading branch information
iddev5 committed Jan 2, 2022
1 parent 356d570 commit 3af4e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.zig
Expand Up @@ -34,7 +34,6 @@ pub fn main() !void {
defer { allocator.free(result.stdout); allocator.free(result.stderr); }
try testing.expect(std.mem.containsAtLeast(u8, result.stderr, 1, "Usage"));
}

{
const result = try runCaptureOuts(allocator, ".", zigup_args ++ &[_][]const u8 {"default"});
defer { allocator.free(result.stdout); allocator.free(result.stderr); }
Expand Down Expand Up @@ -80,6 +79,7 @@ pub fn main() !void {
dumpExecResult(result);
try testing.expect(std.mem.eql(u8, result.stdout, "0.6.0\n"));
}
try runNoCapture(".", zigup_args ++ &[_][]const u8 {"default", "master"});
{
const result = try runCaptureOuts(allocator, ".", zigup_args ++ &[_][]const u8 {"list"});
defer { allocator.free(result.stdout); allocator.free(result.stderr); }
Expand Down

0 comments on commit 3af4e46

Please sign in to comment.