From 4b0d134acb098a4c41c6154788e54af724980f70 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Tue, 12 Feb 2019 18:03:59 +0900 Subject: [PATCH] remove swift 5 annotation --- CoreStoreTests/DynamicModelTests.swift | 4 ---- .../Contents.swift | 0 .../contents.xcplayground | 0 .../playground.xcworkspace/contents.xcworkspacedata | 0 4 files changed, 4 deletions(-) rename {Playground.playground => Playground_iOS.playground}/Contents.swift (100%) rename {Playground.playground => Playground_iOS.playground}/contents.xcplayground (100%) rename {Playground.playground => Playground_iOS.playground}/playground.xcworkspace/contents.xcworkspacedata (100%) diff --git a/CoreStoreTests/DynamicModelTests.swift b/CoreStoreTests/DynamicModelTests.swift index 43a1273..8eb798d 100644 --- a/CoreStoreTests/DynamicModelTests.swift +++ b/CoreStoreTests/DynamicModelTests.swift @@ -141,10 +141,8 @@ class DynamicModelTests: BaseTestDataTestCase { let k1 = String(keyPath: \Animal.species) XCTAssertEqual(k1, "species") - #if swift(<5.0) let k2 = String(keyPath: \Dog.species) XCTAssertEqual(k2, "species") - #endif let k3 = String(keyPath: \Dog.nickname) XCTAssertEqual(k3, "nickname") @@ -325,9 +323,7 @@ class DynamicModelTests: BaseTestDataTestCase { dynamic func test_ThatDynamicModelKeyPaths_CanBeCreated() { XCTAssertEqual(String(keyPath: \Animal.species), "species") - #if swift(<5.0) XCTAssertEqual(String(keyPath: \Dog.species), "species") - #endif } @nonobjc diff --git a/Playground.playground/Contents.swift b/Playground_iOS.playground/Contents.swift similarity index 100% rename from Playground.playground/Contents.swift rename to Playground_iOS.playground/Contents.swift diff --git a/Playground.playground/contents.xcplayground b/Playground_iOS.playground/contents.xcplayground similarity index 100% rename from Playground.playground/contents.xcplayground rename to Playground_iOS.playground/contents.xcplayground diff --git a/Playground.playground/playground.xcworkspace/contents.xcworkspacedata b/Playground_iOS.playground/playground.xcworkspace/contents.xcworkspacedata similarity index 100% rename from Playground.playground/playground.xcworkspace/contents.xcworkspacedata rename to Playground_iOS.playground/playground.xcworkspace/contents.xcworkspacedata