From 6b19536a5a96c693a17e6186f60e7e00acdd6428 Mon Sep 17 00:00:00 2001 From: Farrin Reid Date: Sat, 23 Jun 2012 20:43:55 -0800 Subject: [PATCH] [fix] Changed require('sys') to require('util') for compatibility with node v0.8 --- Readme.md | 4 ++-- tests/serial.js | 2 +- tests/stubs.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 50e94a0..6fda26a 100644 --- a/Readme.md +++ b/Readme.md @@ -101,7 +101,7 @@ testosterone }) .run(function () { - require('sys').print('All tests passed!'); + require('util').print('All tests passed!'); }); // Output @@ -150,7 +150,7 @@ testosterone }) .run(function () { - require('sys').print('done!'); + require('util').print('done!'); }); // Output diff --git a/tests/serial.js b/tests/serial.js index 3d7f1b8..adfcbae 100644 --- a/tests/serial.js +++ b/tests/serial.js @@ -49,5 +49,5 @@ testosterone ) .run(function () { - require('sys').print('done!'); + require('util').print('done!'); }); diff --git a/tests/stubs.js b/tests/stubs.js index 9eb83db..aef929f 100644 --- a/tests/stubs.js +++ b/tests/stubs.js @@ -31,5 +31,5 @@ testosterone }) .run(function () { - require('sys').print('done!'); + require('util').print('done!'); });