Skip to content

Commit

Permalink
update to latest operator
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Feb 5, 2020
1 parent ad030d6 commit 25584a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Sources/Fluent/Exports.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@_exported import FluentKit

infix operator ~~
infix operator !~
infix operator =~
infix operator !~=
infix operator !~~
infix operator !~
infix operator !=~
infix operator !~=
2 changes: 1 addition & 1 deletion Tests/FluentTests/FluentOperatorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class FluentOperatorTests: XCTestCase {
.filter(\.$name ~= "art")
// name doesn't contain string anywhere, prefix, suffix
_ = Planet.query(on: db)
.filter(\.$name !~~ "art")
.filter(\.$name !~ "art")
_ = Planet.query(on: db)
.filter(\.$name !=~ "art")
_ = Planet.query(on: db)
Expand Down

0 comments on commit 25584a1

Please sign in to comment.