mirror of https://gitee.com/bigwinds/arangodb
Adjust string match to new error produced by the new V8 version.
This commit is contained in:
parent
141c19e7b3
commit
959c1b7bbb
|
@ -169,7 +169,7 @@ describe ArangoDB do
|
|||
doc.parsed_response['error'].should eq(true)
|
||||
doc.parsed_response['code'].should eq(400)
|
||||
doc.parsed_response['errorNum'].should eq(600)
|
||||
doc.parsed_response['errorMessage'].should eq("SyntaxError: Unexpected token n")
|
||||
doc.parsed_response['errorMessage'].should eq("SyntaxError: Unexpected token n in JSON at position 2")
|
||||
end
|
||||
|
||||
it "creating a collection with a null body" do
|
||||
|
|
Loading…
Reference in New Issue