Skip to content

Commit 5e1f667

Browse files
fix guard clause in test not returning
1 parent e9c069d commit 5e1f667

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/SourceKitLSPTests/PullDiagnosticsTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ final class PullDiagnosticsTests: XCTestCase {
6262

6363
guard case .full(let fullReport) = report else {
6464
XCTFail("Unexpected diagnostics report type: \(report)")
65+
return
6566
}
6667

6768
return fullReport.items

0 commit comments

Comments
 (0)