File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Tests/SwiftSourceKitPluginTests Expand file tree Collapse file tree 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 {
993993
994994 // rdar://104381080 (NSImage(imageLiteralResourceName:) was my top completion — this seems odd)
995995 func testPopularityForTypeFromSubmodule( ) async throws {
996+ #if !os(macOS)
997+ try XCTSkipIf ( true , " AppKit is only defined on macOS " )
998+ #endif
996999 let sourcekitd = try await getSourceKitD ( )
9971000 let path = scratchFilePath ( )
9981001 let positions = try await sourcekitd. openDocument (
@@ -1507,6 +1510,9 @@ final class SwiftSourceKitPluginTests: XCTestCase {
15071510 }
15081511
15091512 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
15101516 let sourcekitd = try await getSourceKitD ( )
15111517 let path = scratchFilePath ( )
15121518 let positions = try await sourcekitd. openDocument (
You can’t perform that action at this time.
0 commit comments