Skip to content
Browse files

[fix] Changed require('sys') to require('util') for compatibility wit…

…h node v0.8
  • Loading branch information...
1 parent 59b227d commit 7ad224cd7a3ed3ee6bcfe1c98874d4cc1a8b50d7 @blakmatrix blakmatrix committed Jun 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/expect
View
2 bin/expect
@@ -47,7 +47,7 @@ function runExpectations(path, exs) {
if(js != ex.output) {
failed.push(ex)
util.print('X');
- //require("sys").puts("expecting:\n" + ex.output.replace(/ /g, ".") + "\nfound:\n" + js.replace(/ /g, "."))
+ //require('util').puts("expecting:\n" + ex.output.replace(/ /g, ".") + "\nfound:\n" + js.replace(/ /g, "."))
var output = js.split("\n")
var expected = ex.output.split("\n")
for(var j=0; j < output.length; j++) {

0 comments on commit 7ad224c

Please sign in to comment.
Something went wrong with that request. Please try again.