We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c7315d commit 42ff054Copy full SHA for 42ff054
1 file changed
Tests/PrincipleMacrosTests/Parameters/ParameterExtractorTests.swift
@@ -100,7 +100,7 @@ extension ParameterExtractorTests {
100
func testIsolatedPreferredGlobalActorExtraction(isolation: String) throws {
101
let extractor = try makeExtractor(from: "#MyMacro(isolation: \(raw: isolation).self)")
102
let extracted = try extractor.preferredGlobalActorIsolation(withLabel: "isolation")
103
- #expect(extracted?.attribute?.description == "@\(isolation)")
+ #expect(extracted?.trimmedAttribute?.description == "@\(isolation)")
104
}
105
106
@Test
0 commit comments