Skip to content

Commit

Permalink
test: introduce a test for process.versions output
Browse files Browse the repository at this point in the history
make sure that process.versions contains an expected list of software to avoid
potential mistakes with refactoring.

PR-URL: #352
Reviewed-By: Rod Vagg <[email protected]>
  • Loading branch information
jbergstroem authored and rvagg committed Jan 14, 2015
1 parent 31c32e7 commit fce1acd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/parallel/test-process-versions.js
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit fce1acd

Please sign in to comment.