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.
1 parent d28bd9a commit 4027b95Copy full SHA for 4027b95
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