mirror of https://gitee.com/bigwinds/arangodb
added test
This commit is contained in:
parent
29cedd79fc
commit
ba30df4e5c
|
@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue