Skip to content

Commit

Permalink
Fixed failing shell tests (#3045)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSebanc committed Mar 14, 2024
1 parent 930ba45 commit 1b6f741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/shell/test/test_shell_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_multi_queries_one_line(temp_db) -> None:
result.check_stdout("databases rule")
result.check_stdout(
[
"Error: Parser exception: mismatched input '<EOF>' expecting {CALL, COMMENT, COPY, EXPORT, DROP, ALTER, BEGIN, COMMIT, COMMIT_SKIP_CHECKPOINT, ROLLBACK, ROLLBACK_SKIP_CHECKPOINT, INSTALL, LOAD, OPTIONAL, MATCH, UNWIND, CREATE, MERGE, SET, DETACH, DELETE, WITH, RETURN} (line: 1, offset: 6)",
"Error: Parser exception: mismatched input '<EOF>' expecting {CALL, COMMENT_, COPY, EXPORT, IMPORT, DROP, ALTER, BEGIN, COMMIT, COMMIT_SKIP_CHECKPOINT, ROLLBACK, ROLLBACK_SKIP_CHECKPOINT, INSTALL, LOAD, OPTIONAL, MATCH, UNWIND, CREATE, MERGE, SET, DETACH, DELETE, WITH, RETURN} (line: 1, offset: 6)",
'" "',
],
)
Expand All @@ -85,7 +85,7 @@ def test_multi_queries_one_line(temp_db) -> None:
"Error: Parser exception: Invalid input < S>: expected rule ku_Statements (line: 1, offset: 24)",
'"RETURN "databases rule" S a"',
" ^",
"Error: Parser exception: mismatched input '<EOF>' expecting {CALL, COMMENT, COPY, EXPORT, DROP, ALTER, BEGIN, COMMIT, COMMIT_SKIP_CHECKPOINT, ROLLBACK, ROLLBACK_SKIP_CHECKPOINT, INSTALL, LOAD, OPTIONAL, MATCH, UNWIND, CREATE, MERGE, SET, DETACH, DELETE, WITH, RETURN} (line: 1, offset: 6)",
"Error: Parser exception: mismatched input '<EOF>' expecting {CALL, COMMENT_, COPY, EXPORT, IMPORT, DROP, ALTER, BEGIN, COMMIT, COMMIT_SKIP_CHECKPOINT, ROLLBACK, ROLLBACK_SKIP_CHECKPOINT, INSTALL, LOAD, OPTIONAL, MATCH, UNWIND, CREATE, MERGE, SET, DETACH, DELETE, WITH, RETURN} (line: 1, offset: 6)",
'" "',
],
)
Expand Down

0 comments on commit 1b6f741

Please sign in to comment.