|
|
|
@ -432,7 +432,7 @@ class ClockerUnitTests: XCTestCase {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func testDefaultsWiping() { |
|
|
|
|
let defaultsDict: [String: Any] = ["test1" : "testString", "test2": 24] |
|
|
|
|
let defaultsDict: [String: Any] = ["test1": "testString", "test2": 24] |
|
|
|
|
let domainName = "com.test.clocker" |
|
|
|
|
let defaults = UserDefaults(suiteName: domainName) |
|
|
|
|
defaults?.setPersistentDomain(defaultsDict, forName: domainName) |
|
|
|
@ -440,5 +440,4 @@ class ClockerUnitTests: XCTestCase {
|
|
|
|
|
XCTAssertNil(defaults?.object(forKey: "test1")) |
|
|
|
|
XCTAssertNil(defaults?.object(forKey: "test2")) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|