Skip to content

Commit

Permalink
tests building (but failing)
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane committed Apr 27, 2021
1 parent 55ddfe2 commit 653d53a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/LilliputWeb/configure.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public func configure(_ app: Application, game: GameConfiguration) throws {
let sources = app.leaf.sources
try sources.register(source: "builtin", using: source, searchable: true)
app.leaf.sources = sources
print(app.leaf.sources.searchOrder)

// register routes
try routes(app)
Expand Down
2 changes: 2 additions & 0 deletions Tests/AppTests/AppTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ final class AppTests: XCTestCase {
let app = Application(.testing)
defer { app.shutdown() }

print(FileManager.default.currentDirectoryPath)

let name = "ChairTest"
let url = LilliputExamples.urlForGame(named: name)!
let game = GameConfiguration(name: name, url: url)
Expand Down

0 comments on commit 653d53a

Please sign in to comment.