Skip to content

Commit 44cc82f

Browse files
committed
test
1 parent ca457a9 commit 44cc82f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Tests/MutexTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ struct MutexTests {
7373
}
7474
}
7575
}
76-
#endif
7776

7877
extension Mutex {
7978
func unsafeLock() { storage.lock() }
8079
func unsafeUnlock() { storage.unlock() }
8180
}
81+
#endif

Tests/MutexXCTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ final class MutexTests: XCTestCase {
7070
}
7171
}
7272
}
73+
74+
extension Mutex {
75+
func unsafeLock() { storage.lock() }
76+
func unsafeUnlock() { storage.unlock() }
77+
}
7378
#endif

0 commit comments

Comments
 (0)