From bbad6bb682107ee4b089276e8c32b7470625a563 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Thu, 9 Aug 2018 13:00:57 +0200 Subject: [PATCH] fix test --- js/client/tests/shell/shell-require-canceled.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/client/tests/shell/shell-require-canceled.js b/js/client/tests/shell/shell-require-canceled.js index 6affec65fa..a4d40588cd 100644 --- a/js/client/tests/shell/shell-require-canceled.js +++ b/js/client/tests/shell/shell-require-canceled.js @@ -1,5 +1,5 @@ /*jshint globalstrict:false, strict:false */ -/*global assertEqual, arango */ +/*global assertEqual, arango, VPACK_TO_V8 */ //////////////////////////////////////////////////////////////////////////////// /// @brief test the require which is canceled @@ -74,7 +74,7 @@ function RequireCanceledTestSuite() { var d; try { - d = JSON.parse(c.body); + d = VPACK_TO_V8(c.body); } catch (err) { require("internal").print(c.body); throw err;