Skip to content

Commit a55602c

Browse files
committed
Tests: clean up XCTAssertTrue usage for nil checks
1 parent e621815 commit a55602c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDriverTests/CachingBuildTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private func checkCASForResults(jobs: [Job], cas: SwiftScanCAS, fs: FileSystem)
125125
try await compilation.makeGlobal()
126126
// Execise call back uploading method.
127127
compilation.makeGlobal { error in
128-
XCTAssertTrue(error == nil, "Upload Error")
128+
XCTAssertNil(error, "Upload Error")
129129
}
130130
compilations.append(compilation)
131131
} else {

0 commit comments

Comments
 (0)