mirror of
https://github.com/nodejs/node.git
synced 2025-05-18 11:29:35 +00:00

test-sys.js tests common.inspect() (which is test-specific code) and not sys (which, although deprecated, should still be tested). This commit moves the tests to the not-deprecated util and adds a test to check that deprecated sys and util are the same. PR-URL: https://github.com/nodejs/node/pull/3256 Reviewed-By: Evan Lucas <evanlucas@me.com>
8 lines
154 B
JavaScript
8 lines
154 B
JavaScript
'use strict';
|
|
require('../common');
|
|
var assert = require('assert');
|
|
var sys = require('sys');
|
|
var util = require('util');
|
|
|
|
assert.strictEqual(sys, util);
|