mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-01 07:03:06 +02:00
remove swift 5 annotation
This commit is contained in:
@@ -141,10 +141,8 @@ class DynamicModelTests: BaseTestDataTestCase {
|
|||||||
let k1 = String(keyPath: \Animal.species)
|
let k1 = String(keyPath: \Animal.species)
|
||||||
XCTAssertEqual(k1, "species")
|
XCTAssertEqual(k1, "species")
|
||||||
|
|
||||||
#if swift(<5.0)
|
|
||||||
let k2 = String(keyPath: \Dog.species)
|
let k2 = String(keyPath: \Dog.species)
|
||||||
XCTAssertEqual(k2, "species")
|
XCTAssertEqual(k2, "species")
|
||||||
#endif
|
|
||||||
|
|
||||||
let k3 = String(keyPath: \Dog.nickname)
|
let k3 = String(keyPath: \Dog.nickname)
|
||||||
XCTAssertEqual(k3, "nickname")
|
XCTAssertEqual(k3, "nickname")
|
||||||
@@ -325,9 +323,7 @@ class DynamicModelTests: BaseTestDataTestCase {
|
|||||||
dynamic func test_ThatDynamicModelKeyPaths_CanBeCreated() {
|
dynamic func test_ThatDynamicModelKeyPaths_CanBeCreated() {
|
||||||
|
|
||||||
XCTAssertEqual(String(keyPath: \Animal.species), "species")
|
XCTAssertEqual(String(keyPath: \Animal.species), "species")
|
||||||
#if swift(<5.0)
|
|
||||||
XCTAssertEqual(String(keyPath: \Dog.species), "species")
|
XCTAssertEqual(String(keyPath: \Dog.species), "species")
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@nonobjc
|
@nonobjc
|
||||||
|
|||||||
Reference in New Issue
Block a user