mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-09-10 20:01:57 +02:00
WIP
This commit is contained in:
@@ -24,11 +24,11 @@
|
||||
//
|
||||
|
||||
import XCTest
|
||||
import os
|
||||
|
||||
@testable
|
||||
import CoreStore
|
||||
|
||||
|
||||
#if !SWIFT_PACKAGE
|
||||
|
||||
extension Bundle {
|
||||
@@ -196,7 +196,7 @@ final class TestLogger: CoreStoreLogger {
|
||||
|
||||
init(_ expectations: [Expectation: XCTestExpectation]) {
|
||||
|
||||
self.expectations = .init(initialState: expectations)
|
||||
self.expectations = .init(expectations)
|
||||
}
|
||||
|
||||
|
||||
@@ -236,7 +236,7 @@ final class TestLogger: CoreStoreLogger {
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let expectations: OSAllocatedUnfairLock<[Expectation: XCTestExpectation]>
|
||||
private let expectations: Internals.Mutex<[Expectation: XCTestExpectation]>
|
||||
|
||||
private func fulfill(_ expectation: Expectation) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user