Skip to content

Commit

Permalink
fixed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AEsir777 committed Sep 11, 2023
1 parent b0dcc17 commit df39b26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/test_files/copy/copy_to.test
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Binder exception: Cannot find property non_prop for a.
-LOG Non-Query command
-STATEMENT COPY (EXPLAIN MATCH (p:person) RETURN p.ID) TO "test.csv"
---- error
Parser exception: Query must conclude with RETURN clause (line: 1, offset: 6)
Parser exception: mismatched input 'EXPLAIN' expecting {CALL, OPTIONAL, MATCH, UNWIND, CREATE, MERGE, SET, DELETE, WITH, RETURN} (line: 1, offset: 6)
"COPY (EXPLAIN MATCH (p:person) RETURN p.ID) TO "test.csv""
^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion test/test_files/exceptions/parser/syntax_error.test
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Parser exception: Query must conclude with RETURN clause (line: 1, offset: 0)
-CASE QueryNotConcludeWithReturn2
-STATEMENT MATCH (a:person) WITH *;
---- error
Parser exception: Query must conclude with RETURN clause (line: 1, offset: 23)
Parser exception: mismatched input ';' expecting {CALL, OPTIONAL, MATCH, UNWIND, CREATE, MERGE, SET, DELETE, WITH, RETURN, SP} (line: 1, offset: 23)
"MATCH (a:person) WITH *;"
^

Expand Down
2 changes: 1 addition & 1 deletion test/test_files/tinysnb/match/node.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
8

-LOG node2
-STATEMENT MATCH (a:organisation) RETURN COUNT(*) --Returns the total number of nodes in organisation
-STATEMENT MATCH (a:organisation) RETURN COUNT(*) /*Returns the total number of nodes in organisation*/
---- 1
3

0 comments on commit df39b26

Please sign in to comment.