Commit d3eb2d2b authored by Romain Courteaud's avatar Romain Courteaud

Please check JSLINT before committing...

parent c5ec7d2e
...@@ -1286,8 +1286,7 @@ ...@@ -1286,8 +1286,7 @@
gadget.acquire() gadget.acquire()
.fail(function (error) { .fail(function (error) {
ok(error instanceof TypeError); ok(error instanceof TypeError);
console.log(error.message); ok((error.message === "gadget.aq_parent is undefined") ||
ok((error.message === "gadget.aq_parent is undefined" )||
(error.message === "Cannot call method 'apply' of undefined")); (error.message === "Cannot call method 'apply' of undefined"));
}) })
.always(function () { .always(function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment