| ... | ... | @@ -628,7 +628,7 @@ fn stripComponents(path: []const u8, count: u32) ![]const u8 { |
| 628 | 628 | return path[i..]; |
| 629 | 629 | } |
| 630 | 630 | |
| 631 | | test stripComponents { |
| 631 | test "tar stripComponents" { |
| 632 | 632 | const expectEqualStrings = std.testing.expectEqualStrings; |
| 633 | 633 | try expectEqualStrings("a/b/c", try stripComponents("a/b/c", 0)); |
| 634 | 634 | try expectEqualStrings("b/c", try stripComponents("a/b/c", 1)); |
| ... | ... | @@ -667,7 +667,7 @@ fn noNull(str: []const u8) ![]const u8 { |
| 667 | 667 | return str; |
| 668 | 668 | } |
| 669 | 669 | |
| 670 | | test "parsePaxAttribute" { |
| 670 | test "tar parsePaxAttribute" { |
| 671 | 671 | const expectEqual = std.testing.expectEqual; |
| 672 | 672 | const expectEqualStrings = std.testing.expectEqualStrings; |
| 673 | 673 | const expectError = std.testing.expectError; |
| ... | ... | @@ -700,7 +700,7 @@ const TestCase = struct { |
| 700 | 700 | err: ?anyerror = null, // parsing should fail with this error |
| 701 | 701 | }; |
| 702 | 702 | |
| 703 | | test "tar: Go test cases" { |
| 703 | test "tar run Go test cases" { |
| 704 | 704 | const test_dir = if (std.os.getenv("GO_TAR_TESTDATA_PATH")) |path| |
| 705 | 705 | try std.fs.openDirAbsolute(path, .{}) |
| 706 | 706 | else |
| ... | ... | @@ -1031,4 +1031,3 @@ const Md5Writer = struct { |
| 1031 | 1031 | return std.fmt.bytesToHex(s, .lower); |
| 1032 | 1032 | } |
| 1033 | 1033 | }; |
| 1034 | | |