mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 08:19:38 +01:00
test: introduce a test for process.versions output
make sure that process.versions contains an expected list of software to avoid potential mistakes with refactoring. PR-URL: https://github.com/iojs/io.js/pull/352 Reviewed-By: Rod Vagg <rod@vagg.org>
This commit is contained in:
parent
31c32e7a99
commit
fce1acd748
7
test/parallel/test-process-versions.js
Normal file
7
test/parallel/test-process-versions.js
Normal file
@ -0,0 +1,7 @@
|
||||
require('../common');
|
||||
var assert = require('assert');
|
||||
|
||||
var expected_keys = ['ares', 'http_parser', 'modules', 'node',
|
||||
'openssl', 'uv', 'v8', 'zlib'];
|
||||
|
||||
assert.deepEqual(Object.keys(process.versions).sort(), expected_keys);
|
Loading…
Reference in New Issue
Block a user