Skip to content

Commit

Permalink
Add test to ensure route with ref param also fails
Browse files Browse the repository at this point in the history
  • Loading branch information
justinswart committed Jan 9, 2019
1 parent 2cf8a14 commit 75cfd98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/NavigationTests.swift
Expand Up @@ -40,6 +40,8 @@ public final class NavigationTests: XCTestCase {

KSRAssertMatch(nil, "/projects/creator/project?token=4")

KSRAssertMatch(nil, "/projects/creator/project?ref=discovery&token=4")

KSRAssertMatch(.project(.slug("project"), .checkout(1, .thanks(racing: nil)), refTag: nil),
"/projects/creator/project/checkouts/1/thanks")

Expand Down

0 comments on commit 75cfd98

Please sign in to comment.