Skip to content

Commit e3f6436

Browse files
committed
Fix failing inconsistent initializer naming test.
1 parent 98f40b1 commit e3f6436

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CodeGeneration/Tests/ValidateSyntaxNodes/ValidateSyntaxNodes.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,22 +482,22 @@ class ValidateSyntaxNodes: XCTestCase {
482482
ValidationFailure(
483483
node: .enumCaseElement,
484484
message:
485-
"child 'rawValue' is named inconsistently with 'MatchingPatternConditionSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
485+
"child 'rawValue' is named inconsistently with 'ClosureCaptureSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
486486
),
487487
ValidationFailure(
488488
node: .enumCaseParameter,
489489
message:
490-
"child 'defaultValue' is named inconsistently with 'MatchingPatternConditionSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
490+
"child 'defaultValue' is named inconsistently with 'ClosureCaptureSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
491491
),
492492
ValidationFailure(
493493
node: .functionParameter,
494494
message:
495-
"child 'defaultValue' is named inconsistently with 'MatchingPatternConditionSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
495+
"child 'defaultValue' is named inconsistently with 'ClosureCaptureSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
496496
),
497497
ValidationFailure(
498498
node: .macroDecl,
499499
message:
500-
"child 'definition' is named inconsistently with 'MatchingPatternConditionSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
500+
"child 'definition' is named inconsistently with 'ClosureCaptureSyntax.initializer', which has the same type ('InitializerClauseSyntax')"
501501
),
502502
// MARK: Miscellaneous
503503
ValidationFailure(

0 commit comments

Comments
 (0)