Skip to content

Commit

Permalink
also update the test
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Feb 17, 2025
1 parent 295699f commit efc7a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edb/edgeql-parser/src/parser/custom_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl<'s> Parser<'s> {
ParserRule::Create => {
if matches!(token.kind, Kind::Keyword(Keyword("branch"))) {
return Some(Error {
message: r#"Missing one of keywords "EMPTY", "SCHEMA" or "DATA""#.to_string(),
message: "Missing one of keywords 'EMPTY', 'SCHEMA' or 'DATA'".to_string(),
span: Span { start: token.span.start - 1, end: token.span.start },
hint: None,
details: None,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_edgeql_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -4169,7 +4169,7 @@ def test_edgeql_syntax_ddl_branch_06(self):
"""

@tb.must_fail(errors.EdgeQLSyntaxError,
"Missing keyword 'EMPTY'",
"Missing one of keywords 'EMPTY', 'SCHEMA' or 'DATA'",
line=2, col=15)
def test_edgeql_syntax_ddl_branch_07(self):
"""
Expand Down

0 comments on commit efc7a26

Please sign in to comment.