diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-02-28 04:40:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-28 04:40:05 -0500 |
| commit | 6c3cbb0c87a33f4ae408874f6ceb40e372b65914 (patch) | |
| tree | 2892f3585939f9f66dcf8e78fcc8606ad861ae6a /lib/std | |
| parent | 6b6c1b1b0e04d70a4917f073a6a8bc87a5e8abb3 (diff) | |
| parent | de43f5eb6ae4a569efe15e3469b3de76a86d9cd1 (diff) | |
| download | zig-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.zig | 7 |
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(); -} |
