Skip to content

Commit

Permalink
fixed compiler warnings... not sure how this was working before
Browse files Browse the repository at this point in the history
  • Loading branch information
haniewais committed Mar 13, 2024
1 parent 8018fc5 commit 035429e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Xcode/Tests/FilesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class FilesTests: XCTestCase {
let closure = shareFile(temporaryDirectoryURL.appendingPathComponent("does_not_exist").path)
let result = closure(request)

XCTAssert(result == .notFound)
XCTAssert(result == .notFound())
}

func testShareFilesFromDirectory() {
Expand All @@ -77,7 +77,7 @@ class FilesTests: XCTestCase {
let closure = shareFilesFromDirectory(temporaryDirectoryURL.path)
let result = closure(request)

XCTAssert(result == .notFound)
XCTAssert(result == .notFound())
}

func testDirectoryBrowser() {
Expand All @@ -95,6 +95,6 @@ class FilesTests: XCTestCase {
let closure = directoryBrowser(temporaryDirectoryURL.path)
let result = closure(request)

XCTAssert(result == .notFound)
XCTAssert(result == .notFound())
}
}

0 comments on commit 035429e

Please sign in to comment.