Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove sys module

This is the same fix as de7d717.
  • Loading branch information...
commit 9a01ea323bb95cfd526b659c31f3d398e0a19263 1 parent 1b2cb04
@tricknotes tricknotes authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 test/test.js
View
9 test/test.js
@@ -1,5 +1,4 @@
-var sys = require("sys"),
- assert = require("assert"),
+var assert = require("assert"),
jsonCommand = require("../lib/jsonCommand");
var testObj = {
@@ -22,8 +21,8 @@ var testObj = {
};
function printTestName(testName) {
- sys.puts("\nRunning " + testName + ":");
- sys.puts("-----------------------------------------");
+ console.log("\nRunning " + testName + ":");
+ console.log("-----------------------------------------");
}
(function testSimpleSetup() {
@@ -142,4 +141,4 @@ function printTestName(testName) {
})();
-sys.puts("\nAll tests passed!\n");
+console.log("\nAll tests passed!\n");
Please sign in to comment.
Something went wrong with that request. Please try again.