File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,6 @@ final class IndexTests: XCTestCase {
99
99
}
100
100
101
101
func testIndexShutdown( ) async throws {
102
- #if os(Windows)
103
- // TODO: Fix this test (https://github.com/swiftlang/sourcekit-lsp/issues/1750)
104
- try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1750 " )
105
- #endif
106
-
107
102
func listdir( _ url: URL ) throws -> [ URL ] {
108
103
try FileManager . default. contentsOfDirectory ( at: url, includingPropertiesForKeys: nil )
109
104
}
@@ -139,8 +134,8 @@ final class IndexTests: XCTestCase {
139
134
}
140
135
141
136
let versionContentsBefore = try listdir ( versionedPath)
142
- XCTAssertEqual ( versionContentsBefore. count, 1 )
143
- XCTAssert ( versionContentsBefore. first? . lastPathComponent. starts ( with: " p " ) ?? false )
137
+ XCTAssertEqual ( versionContentsBefore. count, 1 , " Received multiple versions: \( versionContentsBefore ) " )
138
+ XCTAssert ( versionContentsBefore. first? . lastPathComponent. starts ( with: " p " ) ?? false , " Received unexpected version: \( versionContentsBefore . first ? . lastPathComponent ?? " <nil> " ) " )
144
139
145
140
try await project. testClient. send ( ShutdownRequest ( ) )
146
141
return versionedPath
You can’t perform that action at this time.
0 commit comments