aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-30 22:02:34 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-09-01 17:54:07 -0700
commitcca57042df374305390b5b0000be75ba6d24fb63 (patch)
tree5ccbc45ec714b1696bed58688a9b4a801e83eac9 /test/cli.zig
parent3940a1be18a8312dec9d521c6e30ec4d34c44bd6 (diff)
downloadzig-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.zig7
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| {