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 e7068e8 commit e6192b2Copy full SHA for e6192b2
Tests/SwiftBasicFormatTest/BasicFormatTests.swift
@@ -351,7 +351,7 @@ final class BasicFormatTest: XCTestCase {
351
let body = decl.cast(FunctionDeclSyntax.self).body!
352
353
assertFormatted(
354
- source: body.formatted().description,
+ tree: body,
355
expected: """
356
{
357
print(1)
@@ -372,7 +372,7 @@ final class BasicFormatTest: XCTestCase {
372
let body = decl.cast(StructDeclSyntax.self).memberBlock.members.first!.decl.cast(FunctionDeclSyntax.self).body!
373
374
375
376
377
378
0 commit comments