@@ -330,6 +330,11 @@ final class SemanticTokensTests: XCTestCase {
330330 func testSemanticTokensForFunctionSignatures( ) async throws {
331331 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
332332
333+ #if os(Windows)
334+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
335+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
336+ #endif
337+
333338 try await assertSemanticTokens (
334339 markedContents: " 1️⃣func 2️⃣f(3️⃣x: 4️⃣Int, _ 5️⃣y: 6️⃣String) {} " ,
335340 expected: [
@@ -404,6 +409,11 @@ final class SemanticTokensTests: XCTestCase {
404409 func testSemanticTokensForEnumMembers( ) async throws {
405410 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
406411
412+ #if os(Windows)
413+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
414+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
415+ #endif
416+
407417 try await assertSemanticTokens (
408418 markedContents: """
409419 1️⃣enum 2️⃣Maybe<3️⃣T> {
@@ -490,6 +500,11 @@ final class SemanticTokensTests: XCTestCase {
490500 func testEmptyEdit( ) async throws {
491501 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
492502
503+ #if os(Windows)
504+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
505+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
506+ #endif
507+
493508 let testClient = try await TestSourceKitLSPClient ( )
494509 let uri = DocumentURI ( for: . swift)
495510 let positions = testClient. openDocument (
@@ -573,6 +588,11 @@ final class SemanticTokensTests: XCTestCase {
573588 func testReplaceUntilEndOfToken( ) async throws {
574589 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
575590
591+ #if os(Windows)
592+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
593+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
594+ #endif
595+
576596 let testClient = try await TestSourceKitLSPClient ( )
577597 let uri = DocumentURI ( for: . swift)
578598 let positions = testClient. openDocument (
@@ -626,6 +646,11 @@ final class SemanticTokensTests: XCTestCase {
626646 func testInsertSpaceBeforeToken( ) async throws {
627647 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
628648
649+ #if os(Windows)
650+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
651+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
652+ #endif
653+
629654 let testClient = try await TestSourceKitLSPClient ( )
630655 let uri = DocumentURI ( for: . swift)
631656 let positions = testClient. openDocument (
@@ -693,6 +718,11 @@ final class SemanticTokensTests: XCTestCase {
693718 func testInsertNewline( ) async throws {
694719 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
695720
721+ #if os(Windows)
722+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
723+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
724+ #endif
725+
696726 let testClient = try await TestSourceKitLSPClient ( )
697727 let uri = DocumentURI ( for: . swift)
698728 let positions = testClient. openDocument (
@@ -766,6 +796,11 @@ final class SemanticTokensTests: XCTestCase {
766796 func testInsertTokens( ) async throws {
767797 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
768798
799+ #if os(Windows)
800+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
801+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
802+ #endif
803+
769804 let testClient = try await TestSourceKitLSPClient ( )
770805 let uri = DocumentURI ( for: . swift)
771806 let positions = testClient. openDocument (
@@ -897,6 +932,11 @@ final class SemanticTokensTests: XCTestCase {
897932 func testArgumentLabels( ) async throws {
898933 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
899934
935+ #if os(Windows)
936+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
937+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
938+ #endif
939+
900940 try await assertSemanticTokens (
901941 markedContents: """
902942 1️⃣func 2️⃣foo(3️⃣arg: 4️⃣Int) {}
@@ -917,6 +957,11 @@ final class SemanticTokensTests: XCTestCase {
917957 func testFunctionDeclarationWithFirstAndSecondName( ) async throws {
918958 try await SkipUnless . sourcekitdHasSemanticTokensRequest ( )
919959
960+ #if os(Windows)
961+ // FIXME: Run when https://github.com/swiftlang/sourcekit-lsp/issues/1770 is fixed
962+ try XCTSkipIf ( true , " https://github.com/swiftlang/sourcekit-lsp/issues/1770 " )
963+ #endif
964+
920965 try await assertSemanticTokens (
921966 markedContents: """
922967 1️⃣func 2️⃣foo(3️⃣arg 4️⃣internalName: 5️⃣Int) {}
0 commit comments