mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-18 14:48:28 +01:00
Swift 4 support
This commit is contained in:
1 parent
f618617053
commit
6e01a58c85
17 files changed
+116
-69
No files matched your search
@@ -565,7 +565,9 @@ class ImportTests: BaseTestDataTestCase {
|
||||
XCTAssertEqual(objects.count, 2)
|
||||
|
||||
zip(objects, sourceArray)
|
||||
.forEach { object, dictionary in
|
||||
.forEach {
|
||||
|
||||
let (object, dictionary) = $0
|
||||
XCTAssertEqual(object.testEntityID, dictionary[(#keyPath(TestEntity1.testEntityID))] as? NSNumber)
|
||||
XCTAssertEqual(object.testBoolean, dictionary[(#keyPath(TestEntity1.testBoolean))] as? NSNumber)
|
||||
XCTAssertEqual(object.testNumber, dictionary[(#keyPath(TestEntity1.testNumber))] as? NSNumber)
|
||||
|
||||
Reference in new issue
Block a user