diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-08-30 22:02:34 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-01 17:54:07 -0700 |
| commit | cca57042df374305390b5b0000be75ba6d24fb63 (patch) | |
| tree | 5ccbc45ec714b1696bed58688a9b4a801e83eac9 /test/cli.zig | |
| parent | 3940a1be18a8312dec9d521c6e30ec4d34c44bd6 (diff) | |
| download | zig-cca57042df374305390b5b0000be75ba6d24fb63.tar.gz zig-cca57042df374305390b5b0000be75ba6d24fb63.zip | |
std: fix regressions from this branch
Also move some usingnamespace test cases from compare_output to
behavior.
Diffstat (limited to 'test/cli.zig')
| -rw-r--r-- | test/cli.zig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/cli.zig b/test/cli.zig index e3a00fe735..59fb7095af 100644 --- a/test/cli.zig +++ b/test/cli.zig @@ -45,13 +45,6 @@ pub fn main() !void { } } -fn unwrapArg(arg: UnwrapArgError![]u8) UnwrapArgError![]u8 { - return arg catch |err| { - warn("Unable to parse command line: {}\n", .{err}); - return err; - }; -} - fn printCmd(cwd: []const u8, argv: []const []const u8) void { std.debug.warn("cd {s} && ", .{cwd}); for (argv) |arg| { |
