We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f20e23 commit ddb9802Copy full SHA for ddb9802
Tests/SwiftSyntaxBuilderTest/StringInterpolation.swift
@@ -421,4 +421,22 @@ final class StringInterpolationTests: XCTestCase {
421
"""
422
)
423
}
424
+
425
+ func testAccessorInterpolation() {
426
+ let setter: AccessorDeclSyntax =
427
+ """
428
+ set(newValue) {
429
+ _storage = newValue
430
+ }
431
432
+ XCTAssertTrue(setter.is(AccessorDeclSyntax.self))
433
+ AssertStringsEqualWithDiff(
434
+ setter.description,
435
436
437
438
439
440
+ )
441
442
0 commit comments