diff options
author | Henrik Gemal <henrik@gemal.dk> | 2019-08-28 10:37:57 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2019-10-08 03:25:10 +0300 |
commit | 70f54dcb5693b301c6b357922b7e8d16b57d8b00 (patch) | |
tree | d36629d6dc817c6acf5e03261cfd079202d101fe /test | |
parent | f46edae9450b707650a0efab09aa1e9295a18070 (diff) |
Make OK more consistent
PR-URL: https://github.com/npm/cli/pull/241
Credit: @gemal
Close: #241
Reviewed-by: @isaacs
Diffstat (limited to 'test')
-rw-r--r-- | test/tap/doctor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tap/doctor.js b/test/tap/doctor.js index 9285518c2..9a1b42cdd 100644 --- a/test/tap/doctor.js +++ b/test/tap/doctor.js @@ -92,7 +92,7 @@ t.test('npm doctor', function (t) { npm.commands.doctor({'node-url': node_url}, true, function (e, list) { t.ifError(e, 'npm loaded successfully') t.same(list.length, 9, 'list should have 9 prop') - t.same(list[0][1], 'OK', 'npm ping') + t.same(list[0][1], 'ok', 'npm ping') t.same(list[1][1], 'v' + npm.version, 'npm -v') t.same(list[2][1], process.version, 'node -v') t.same(list[3][1], common.registry + '/', 'npm config get registry') @@ -113,7 +113,7 @@ t.test('npm doctor works without registry', function (t) { npm.commands.doctor({'node-url': node_url}, true, function (e, list) { t.ifError(e, 'npm loaded successfully') t.same(list.length, 9, 'list should have 9 prop') - t.same(list[0][1], 'OK', 'npm ping') + t.same(list[0][1], 'ok', 'npm ping') t.same(list[1][1], 'v' + npm.version, 'npm -v') t.same(list[2][1], process.version, 'node -v') t.same(list[3][1], '', 'no registry, but no crash') |