From 8aa92a4730de00f86b4e5a6444252ae0b7c80784 Mon Sep 17 00:00:00 2001 From: Farrin Reid Date: Sat, 23 Jun 2012 04:20:54 -0800 Subject: [PATCH] [fix] Changed require('sys') to require('util') for compatibility with node v0.8 --- test/util/expect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util/expect.js b/test/util/expect.js index e9ca46f7..c18cef20 100644 --- a/test/util/expect.js +++ b/test/util/expect.js @@ -10,7 +10,7 @@ var expect = require('expect.js'); var Assertion = expect.Assertion , statusCodes = require('http').STATUS_CODES , j = function(elem){ return '[jQuery ' + i(elem.selector.replace(/^ *\* */, '')) + ']'; } - , i = require('sys').inspect; + , i = require('util').inspect; /** * Number strings.