Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
giginet committed Nov 24, 2021
1 parent c8b9eea commit b60270b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/CrossroadTests/Router_AcceptanceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ final class Router_AcceptanceTests: XCTestCase {
XCTAssertFalse(router.responds(to: URL(string: "https://another-pokedex.com/pokemons/:id")!))
XCTAssertTrue(router.responds(to: URL(string: "https://another-pokedex.com/moves/:id")!))
XCTAssertTrue(router.responds(to: URL(string: "https://another-pokedex.com/")!))

XCTAssertFalse(router.responds(to: URL(string: "https://invalid-pokedex.com/")!))
XCTAssertFalse(router.responds(to: URL(string: "invalid_scheme://")!))
}

func testGroupDSLWithWrongFactory() throws {
Expand Down

0 comments on commit b60270b

Please sign in to comment.