| ... | @@ -517,7 +517,8 @@ test "args iterator" { | ... | @@ -517,7 +517,8 @@ test "args iterator" { |
| 517 | const given_suffix = std.fs.path.basename(prog_name); | 517 | const given_suffix = std.fs.path.basename(prog_name); |
| 518 | | 518 | |
| 519 | testing.expect(mem.eql(u8, expected_suffix, given_suffix)); | 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 | testing.expect(!it.skip()); | 522 | testing.expect(!it.skip()); |
| 522 | } | 523 | } |
| 523 | | 524 | |