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 cf128b1 commit 84d3251Copy full SHA for 84d3251
Tests/SwiftSyntaxBuilderTest/StringInterpolationTests.swift
@@ -462,14 +462,14 @@ final class StringInterpolationTests: XCTestCase {
462
}
463
464
func testCodeBlockItemInterpolation() {
465
- let codeBlock = CodeBlockItemSyntax(
+ let codeBlock: CodeBlockItemSyntax =
466
"""
467
func foo() {
468
return bar
469
470
471
- )
472
+ XCTAssertTrue(codeBlock.is(CodeBlockItemSyntax.self))
473
AssertStringsEqualWithDiff(
474
codeBlock.description,
475
0 commit comments