1
0
Fork 0

added test

This commit is contained in:
Jan Steemann 2015-01-09 00:03:50 +01:00
parent 29cedd79fc
commit ba30df4e5c
1 changed files with 9 additions and 1 deletions

View File

@ -264,6 +264,14 @@ function ahuacatlModifySuite () {
assertQueryError(errors.ERROR_QUERY_PARSE.code, "UPDATE 'abc' WITH { } IN @@cn LET updated = NEW RETURN foo", { "@cn": cn1 });
},
////////////////////////////////////////////////////////////////////////////////
/// @brief test variable names
////////////////////////////////////////////////////////////////////////////////
testInvalidVariableNames3 : function () {
assertQueryError(errors.ERROR_QUERY_PARSE.code, "FOR i IN 1..1 UPDATE 'abc' WITH { } IN @@cn LET updated = NEW RETURN i", { "@cn": cn1 });
},
////////////////////////////////////////////////////////////////////////////////
/// @brief test empty results
////////////////////////////////////////////////////////////////////////////////