mirror of https://github.com/lukechilds/node.git
Browse Source
PR-URL: https://github.com/iojs/io.js/pull/1049 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>v1.8.0-commit
Johan Bergström
10 years ago
committed by
Shigeki Ohtsu
1 changed files with 7 additions and 3 deletions
@ -1,7 +1,11 @@ |
|||
require('../common'); |
|||
var common = require('../common'); |
|||
var assert = require('assert'); |
|||
|
|||
var expected_keys = ['ares', 'http_parser', 'modules', 'node', |
|||
'openssl', 'uv', 'v8', 'zlib']; |
|||
'uv', 'v8', 'zlib']; |
|||
|
|||
assert.deepEqual(Object.keys(process.versions).sort(), expected_keys); |
|||
if(common.hasCrypto) { |
|||
expected_keys.push('openssl'); |
|||
} |
|||
|
|||
assert.deepEqual(Object.keys(process.versions).sort(), expected_keys.sort()); |
|||
|
Loading…
Reference in new issue