Skip to content

Commit 59711df

Browse files
authored
Merge pull request #1548 from ahoppen/skip-macro-expansion-test-no-background-indexing
Skip `testFreestandingMacroExpansion` if host toolchain does not support background indexing
2 parents ef2dc17 + d828bb3 commit 59711df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/SourceKitLSPTests/ExecuteCommandTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ final class ExecuteCommandTests: XCTestCase {
140140

141141
func testFreestandingMacroExpansion() async throws {
142142
try await SkipUnless.canBuildMacroUsingSwiftSyntaxFromSourceKitLSPBuild()
143+
try await SkipUnless.swiftPMSupportsExperimentalPrepareForIndexing()
143144

144145
let options = SourceKitLSPOptions.testDefault(experimentalFeatures: [.showMacroExpansions])
145146

0 commit comments

Comments
 (0)