diff options
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/process.zig | 1 | ||||
| -rw-r--r-- | lib/std/testing.zig | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/std/process.zig b/lib/std/process.zig index d8604edab8..2c51ec2d60 100644 --- a/lib/std/process.zig +++ b/lib/std/process.zig @@ -822,7 +822,6 @@ test "args iterator" { const given_suffix = std.fs.path.basename(prog_name); try testing.expect(mem.eql(u8, expected_suffix, given_suffix)); - try testing.expect(it.skip()); // Skip over zig_exe_path, passed to the test runner try testing.expect(it.next() == null); try testing.expect(!it.skip()); } diff --git a/lib/std/testing.zig b/lib/std/testing.zig index 67f6b33122..c71e2d39c9 100644 --- a/lib/std/testing.zig +++ b/lib/std/testing.zig @@ -22,10 +22,6 @@ pub var base_allocator_instance = std.heap.FixedBufferAllocator.init(""); /// TODO https://github.com/ziglang/zig/issues/5738 pub var log_level = std.log.Level.warn; -/// This is available to any test that wants to execute Zig in a child process. -/// It will be the same executable that is running `zig test`. -pub var zig_exe_path: []const u8 = undefined; - /// This function is intended to be used only in tests. It prints diagnostics to stderr /// and then returns a test failure error when actual_error_union is not expected_error. pub fn expectError(expected_error: anyerror, actual_error_union: anytype) !void { |
