Skip to content

Commit ec9139e

Browse files
committed
Fix tests
1 parent 75583ab commit ec9139e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CodeGeneration/Tests/ValidateSyntaxNodes/ValidateSyntaxNodes.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ fileprivate extension ChildKind {
5555
return kind == otherKind
5656
case (.nodeChoices(let choices, _), .nodeChoices(let otherChoices, _)):
5757
return choices.count == otherChoices.count && zip(choices, otherChoices).allSatisfy { $0.hasSameType(as: $1) }
58-
case (.collection(kind: let kind, _, _, _), .collection(kind: let otherKind, _, _, _)):
58+
case (.collection(kind: let kind, _, _, _, _), .collection(kind: let otherKind, _, _, _, _)):
5959
return kind == otherKind
6060
case (.token(let choices, _, _), .token(let otherChoices, _, _)):
6161
return choices == otherChoices
62-
case (.node(let kind), .collection(kind: let otherKind, _, _, _)):
62+
case (.node(let kind), .collection(kind: let otherKind, _, _, _, _)):
6363
return kind == otherKind
64-
case (.collection(kind: let kind, _, _, _), .node(let otherKind)):
64+
case (.collection(kind: let kind, _, _, _, _), .node(let otherKind)):
6565
return kind == otherKind
6666
default:
6767
return false

0 commit comments

Comments
 (0)