Skip to content

Commit

Permalink
test: Fix test-repl-autolibs inspect call
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Dec 14, 2012
1 parent 0e01d63 commit 79fd962
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/simple/test-repl-autolibs.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ function test1(){
putIn.write = function (data) {
gotWrite = true;
if (data.length) {

// inspect output matches repl output
assert.equal(data, util.inspect(require('fs'), null, null, false) + '\n');
assert.equal(data, util.inspect(require('fs'), null, 2, false) + '\n');
// globally added lib matches required lib
assert.equal(global.fs, require('fs'));
test2();
Expand Down

0 comments on commit 79fd962

Please sign in to comment.