aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-28 04:40:05 -0500
committerGitHub <noreply@github.com>2025-02-28 04:40:05 -0500
commit6c3cbb0c87a33f4ae408874f6ceb40e372b65914 (patch)
tree2892f3585939f9f66dcf8e78fcc8606ad861ae6a /lib/std
parent6b6c1b1b0e04d70a4917f073a6a8bc87a5e8abb3 (diff)
parentde43f5eb6ae4a569efe15e3469b3de76a86d9cd1 (diff)
downloadzig-6c3cbb0c87a33f4ae408874f6ceb40e372b65914.tar.gz
zig-6c3cbb0c87a33f4ae408874f6ceb40e372b65914.zip
Merge pull request #22994 from ziglang/newhash
implement new package hash format: `$name-$semver-$hash`
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/array_list.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/std/array_list.zig b/lib/std/array_list.zig
index 1b2bbcb919..7849e98b42 100644
--- a/lib/std/array_list.zig
+++ b/lib/std/array_list.zig
@@ -2250,10 +2250,3 @@ test "return OutOfMemory when capacity would exceed maximum usize integer value"
try testing.expectError(error.OutOfMemory, list.ensureUnusedCapacity(2));
}
}
-
-test "ArrayListAligned with non-native alignment compiles unusedCapabitySlice" {
- var list = ArrayListAligned(u8, 4).init(testing.allocator);
- defer list.deinit();
- try list.appendNTimes(1, 4);
- _ = list.unusedCapacitySlice();
-}