Skip to content

Commit

Permalink
Updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Oct 30, 2020
1 parent 70b2c33 commit a1c2985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/PredicateTests/PredicateTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ final class PredicateTests: XCTestCase {

let future = Date.distantFuture

let predicate: Predicate = (#keyPath(EventObject.name)).compare(.matches, [.caseInsensitive], .value(.string(#"event \d"#))) && [
(#keyPath(EventObject.start)) < future,
let predicate: Predicate = ("name").compare(.matches, [.caseInsensitive], .value(.string(#"event \d"#))) && [
("start") < future,
("speakers.@count") > 0
]

Expand Down

0 comments on commit a1c2985

Please sign in to comment.