Skip to content

Commit 7d9d884

Browse files
committed
test fix
1 parent 4038741 commit 7d9d884

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/ExecutionContext/ExecutionContextTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ class ExecutionContextTests: XCTestCase {
141141
for _ in [0...100] {
142142
global.execute {
143143
sema.wait()
144+
XCTAssert(n == 0, "Should always be zero")
144145
n += 1
145146
sleep(0.1)
146147
n -= 1

0 commit comments

Comments
 (0)