Skip to content

Commit 035429e

Browse files
committed
fixed compiler warnings... not sure how this was working before
1 parent 8018fc5 commit 035429e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Xcode/Tests/FilesTests.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class FilesTests: XCTestCase {
5555
let closure = shareFile(temporaryDirectoryURL.appendingPathComponent("does_not_exist").path)
5656
let result = closure(request)
5757

58-
XCTAssert(result == .notFound)
58+
XCTAssert(result == .notFound())
5959
}
6060

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

80-
XCTAssert(result == .notFound)
80+
XCTAssert(result == .notFound())
8181
}
8282

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

98-
XCTAssert(result == .notFound)
98+
XCTAssert(result == .notFound())
9999
}
100100
}

0 commit comments

Comments
 (0)