Skip to content

Commit 385cbfc

Browse files
committed
[stdlib] Relax upper bound test for ManagedBuffer capacity
1 parent 52ecb88 commit 385cbfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/1_stdlib/ManagedBuffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tests.test("basic") {
146146
let s = TestManagedBuffer<LifetimeTracked>.create(10)
147147
expectEqual(0, s.count)
148148
expectLE(10, s.myCapacity)
149-
expectGE(12, s.myCapacity) // allow some over-allocation but not too much
149+
expectGE(13, s.myCapacity) // allow some over-allocation but not too much
150150

151151
expectEqual(1, LifetimeTracked.instances)
152152
for i in 1..<6 {

0 commit comments

Comments
 (0)