changed keyPath string utility to use String initializer

This commit is contained in:
John Rommel Estropia committed 2017-12-29 00:05:11 +09:00
1 parent f447bcfb95
commit 15edabdbb5
11 files changed
+407 -318

No files matched your search

+6
View File
@@ -52,6 +52,12 @@ private func XCTAssertAllEqual<D>(_ whereClauses: [Where<D>]) {
final class WhereTests: XCTestCase {
@objc
dynamic func test_ThatDynamicModelKeyPaths_CanBeCreated() {
XCTAssertEqual(String(keyPath: \TestEntity1.testEntityID), "testEntityID")
}
@objc
dynamic func test_ThatWhereClauses_ConfigureCorrectly() {