Permalink
Browse files

using util instead of sys

  • Loading branch information...
1 parent 7888bfe commit bc647f9917ef146dcf550a9a7e456371e3b2f7f1 @masylum committed Jan 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/helpers/call.js
View
@@ -1,4 +1,4 @@
-var _sys = require('sys');
+var _util = require('util');
module.exports = function call(_client, _assert, _test, _responses) {
@@ -86,8 +86,8 @@ module.exports = function call(_client, _assert, _test, _responses) {
_assert.ok(
eql,
'Invalid response body.\n'.grey +
- ' Expected: '.grey + _sys.inspect(res.body).toString().green + '\n' +
- ' Got: '.grey + _sys.inspect(response.body).toString().red
+ ' Expected: '.grey + _util.inspect(res.body).toString().green + '\n' +
+ ' Got: '.grey + _util.inspect(response.body).toString().red
);
}

0 comments on commit bc647f9

Please sign in to comment.