Skip to content

Commit

Permalink
At compile time we expect SyntaxErrors not TypeErrors for these cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherfert authored and arnefischereit committed Oct 11, 2023
1 parent a53b523 commit 80ed32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tck/features/expressions/graph/Graph6.feature
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Feature: Graph6 - Static property access
WITH <exp> AS nonGraphElement
RETURN nonGraphElement.num
"""
Then a TypeError should be raised at compile time: InvalidArgumentType
Then a SyntaxError should be raised at compile time: InvalidArgumentType

Examples:
| exp |
Expand Down

0 comments on commit 80ed32a

Please sign in to comment.