We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6c536b + 4027b95 commit 774a59dCopy full SHA for 774a59d
test/stdlib/Atomics/AtomicLazyReference.swift
@@ -31,14 +31,10 @@ suite.test("storeIfNil") {
31
expectTrue(v.storeIfNil(ref) === ref)
32
expectTrue(v.load() === ref)
33
34
- expectEqual(LifetimeTracked.instances, 1)
35
-
36
let ref2 = LifetimeTracked(23)
37
expectTrue(v.storeIfNil(ref2) === ref)
38
39
40
- expectEqual(LifetimeTracked.instances, 2)
41
42
// v is automatically deinitialized here.
43
}
44
expectEqual(LifetimeTracked.instances, 0)
0 commit comments