File tree 1 file changed +6
-0
lines changed
Tests/SwiftSourceKitPluginTests 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -993,6 +993,9 @@ final class SwiftSourceKitPluginTests: XCTestCase {
993
993
994
994
// rdar://104381080 (NSImage(imageLiteralResourceName:) was my top completion — this seems odd)
995
995
func testPopularityForTypeFromSubmodule( ) async throws {
996
+ #if !os(macOS)
997
+ try XCTSkipIf ( true , " AppKit is only defined on macOS " )
998
+ #endif
996
999
let sourcekitd = try await getSourceKitD ( )
997
1000
let path = scratchFilePath ( )
998
1001
let positions = try await sourcekitd. openDocument (
@@ -1507,6 +1510,9 @@ final class SwiftSourceKitPluginTests: XCTestCase {
1507
1510
}
1508
1511
1509
1512
func testCompletionDiagnostics( ) async throws {
1513
+ #if !os(macOS)
1514
+ try XCTSkipIf ( true , " Soft deprecation is only defined for macOS in this test case " )
1515
+ #endif
1510
1516
let sourcekitd = try await getSourceKitD ( )
1511
1517
let path = scratchFilePath ( )
1512
1518
let positions = try await sourcekitd. openDocument (
You can’t perform that action at this time.
0 commit comments