mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Syntax] Fix type syntax tests for 'async'.
This commit is contained in:
@@ -471,7 +471,7 @@ TEST(TypeSyntaxTests, FunctionTypeMakeAPIs) {
|
||||
auto Int = SyntaxFactory::makeTypeIdentifier("Int", {}, {});
|
||||
auto IntArg = SyntaxFactory::makeBlankTupleTypeElement()
|
||||
.withType(Int);
|
||||
auto Async = SyntaxFactory::makeContextualKeyword(
|
||||
auto Async = SyntaxFactory::makeIdentifier(
|
||||
"async", { }, { Trivia::spaces(1) });
|
||||
auto Throws = SyntaxFactory::makeThrowsKeyword({}, { Trivia::spaces(1) });
|
||||
auto Rethrows = SyntaxFactory::makeRethrowsKeyword({},
|
||||
|
||||
Reference in New Issue
Block a user