aboutsummaryrefslogtreecommitdiff
path: root/lib/std/tar.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-22 02:04:48 -0700
committerGitHub <noreply@github.com>2024-03-22 02:04:48 -0700
commitd8bb139da44d9140fd8992608fcbbddcd1816889 (patch)
treea6277199a72ae9ae6265c7b2dd8274d8e54d220a /lib/std/tar.zig
parenta2651cbc829d44df4c3773037598b30e8cf0c4da (diff)
parent90c94a2f0b7ce71aae1b69cf9e7b517c3a771906 (diff)
downloadzig-d8bb139da44d9140fd8992608fcbbddcd1816889.tar.gz
zig-d8bb139da44d9140fd8992608fcbbddcd1816889.zip
Merge pull request #19390 from ziglang/valgrind
make the behavior tests run almost valgrind clean
Diffstat (limited to 'lib/std/tar.zig')
-rw-r--r--lib/std/tar.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/tar.zig b/lib/std/tar.zig
index 13da27ca84..8ab7f0d09a 100644
--- a/lib/std/tar.zig
+++ b/lib/std/tar.zig
@@ -676,7 +676,7 @@ fn stripComponents(path: []const u8, count: u32) []const u8 {
return path[i..];
}
-test "stripComponents" {
+test stripComponents {
const expectEqualStrings = testing.expectEqualStrings;
try expectEqualStrings("a/b/c", stripComponents("a/b/c", 0));
try expectEqualStrings("b/c", stripComponents("a/b/c", 1));
@@ -685,7 +685,7 @@ test "stripComponents" {
try expectEqualStrings("", stripComponents("a/b/c", 4));
}
-test "PaxIterator" {
+test PaxIterator {
const Attr = struct {
kind: PaxAttributeKind,
value: []const u8 = undefined,