File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -436,10 +436,11 @@ public actor SkipUnless {
436
436
let project = try await SwiftPMTestProject (
437
437
files: [
438
438
" MyMacros/MyMacros.swift " : #"""
439
- import SwiftCompilerPlugin
440
- import SwiftSyntax
441
- import SwiftSyntaxBuilder
442
- import SwiftSyntaxMacros
439
+ import SwiftParser
440
+
441
+ func test() {
442
+ _ = Parser.parse(source: "let a")
443
+ }
443
444
"""# ,
444
445
" MyMacroClient/MyMacroClient.swift " : """
445
446
""" ,
@@ -453,6 +454,9 @@ public actor SkipUnless {
453
454
skipMessage: """
454
455
Skipping because macro could not be built using build artifacts in the sourcekit-lsp build directory. \
455
456
This usually happens if sourcekit-lsp was built using a different toolchain than the one used at test-time.
457
+
458
+ Reason:
459
+ \( error)
456
460
"""
457
461
)
458
462
}
You can’t perform that action at this time.
0 commit comments