diff --git a/tests/node_modules/vows/lib/vows.js b/tests/node_modules/vows/lib/vows.js index 44e5cf2..e5fe6e2 100644 --- a/tests/node_modules/vows/lib/vows.js +++ b/tests/node_modules/vows/lib/vows.js @@ -15,7 +15,7 @@ // } // }).run(); // -var sys = require('sys'), +var util = require('util'), path = require('path'), events = require('events'), vows = exports; @@ -141,7 +141,7 @@ process.on('exit', function () { } }); - if (unFired.length > 0) { sys.print('\n') } + if (unFired.length > 0) { util.print('\n') } unFired.forEach(function (title) { s.reporter.report(['error', { @@ -161,7 +161,7 @@ process.on('exit', function () { }); }); if (failure) { - sys.puts(console.result(results)); + util.puts(console.result(results)); } }); diff --git a/tests/node_modules/vows/lib/vows/reporters/spec.js b/tests/node_modules/vows/lib/vows/reporters/spec.js index 0f91146..7b9466e 100644 --- a/tests/node_modules/vows/lib/vows/reporters/spec.js +++ b/tests/node_modules/vows/lib/vows/reporters/spec.js @@ -1,4 +1,4 @@ -var sys = require('sys'); +var util = require('util'); var options = { tail: '\n' }; var console = require('../../vows/console'); @@ -28,7 +28,7 @@ this.report = function (data) { puts(console.vowText(event)); break; case 'end': - sys.print('\n'); + util.print('\n'); break; case 'finish': puts(console.result(event).join('\n')); @@ -40,5 +40,5 @@ this.report = function (data) { }; this.print = function (str) { - sys.print(str); + util.print(str); }; diff --git a/tests/node_modules/vows/lib/vows/reporters/watch.js b/tests/node_modules/vows/lib/vows/reporters/watch.js index f172481..61ccf49 100644 --- a/tests/node_modules/vows/lib/vows/reporters/watch.js +++ b/tests/node_modules/vows/lib/vows/reporters/watch.js @@ -1,4 +1,4 @@ -var sys = require('sys'); +var util = require('util'); var options = {}; var console = require('../../vows/console');