[SwiftSyntax] Test adjustments because no space is inserted between #available and ( by SwiftSyntax anymore

Companion of https://github.com/apple/swift-syntax/pull/2592
This commit is contained in:
Alex Hoppen
2024-04-05 10:33:20 -07:00
parent 2ef1aa5525
commit ba0bae2810
3 changed files with 12 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ protocol Greeter: DistributedActor where ActorSystem: DistributedActorSystem<any
// CHECK: extension Greeter where Self: Distributed._DistributedActorStub {
// CHECK-NEXT: distributed func greet(name: String) -> String {
// CHECK-NEXT: if #available (SwiftStdlib 6.0, *) {
// CHECK-NEXT: if #available(SwiftStdlib 6.0, *) {
// CHECK-NEXT: Distributed._distributedStubFatalError()
// CHECK-NEXT: } else {
// CHECK-NEXT: fatalError()