Skip to content

Commit 64503f4

Browse files
committed
Subqueryable
1 parent 31490fd commit 64503f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreDataQueryInterfaceTests/FilterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class FilterTests : BaseTestCase {
8989
func testNumberOfDepartmentsWithEmployeesWhoseLastNamesStartWithSUsingSubquery() {
9090
let departmentCount = try! managedObjectContext.from(Department.self).filter{ department in
9191
department.employees.cdqiSubquery {
92-
some($0.lastName.cdqiBeginsWith("S", options: .caseInsensitive))
92+
$0.lastName.cdqiBeginsWith("S", options: .caseInsensitive).cdqiSome()
9393
}.cdqiCount() > 0
9494
}.count()
9595
XCTAssertEqual(departmentCount, 2)

0 commit comments

Comments
 (0)