| author | |
| committer | |
| log | 78dcd1b23ed4ca9d4202e1613ce2ec17c7b85e5c |
| tree | 183fcf575372cb3e3a3a1ed3a4093da404068bdb |
| parent | 3b5dd48f99269cf8e944adf40657f2866adecc37 |
These tests asserted there were no args passed to the test binary, but
now there is an arg intentionally passed to the test binary, so the test
case needed to be updated.1 files changed, 2 insertions(+), 1 deletions(-)
lib/std/process.zig+2-1| ... | ... | @@ -517,7 +517,8 @@ test "args iterator" { |
| 517 | 517 | const given_suffix = std.fs.path.basename(prog_name); |
| 518 | 518 | |
| 519 | 519 | testing.expect(mem.eql(u8, expected_suffix, given_suffix)); |
| 520 | testing.expectEqual(it.next(ga), null); | |
| 520 | testing.expect(it.skip()); // Skip over zig_exe_path, passed to the test runner | |
| 521 | testing.expect(it.next(ga) == null); | |
| 521 | 522 | testing.expect(!it.skip()); |
| 522 | 523 | } |
| 523 | 524 |