Skip to content

Commit

Permalink
'sys' has been deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Oct 30, 2011
1 parent 984661d commit 4dc376f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/xml2js.test.coffee
@@ -1,7 +1,7 @@
# use zap to run tests, it also detects CoffeeScript files
xml2js = require '../lib/xml2js'
fs = require 'fs'
sys = require 'sys'
util = require 'util'
assert = require 'assert'
path = require 'path'

Expand All @@ -23,7 +23,7 @@ skeleton = (options, checks) ->

module.exports =
'test parse with defaults': skeleton(undefined, (r) ->
console.log 'Result object: ' + sys.inspect(r, false, 10)
console.log 'Result object: ' + util.inspect(r, false, 10)
assert.equal r['chartest']['@']['desc'], 'Test for CHARs'
assert.equal r['chartest']['#'], 'Character data here!'
assert.equal r['cdatatest']['@']['desc'], 'Test for CDATA'
Expand Down

0 comments on commit 4dc376f

Please sign in to comment.