@@ -92,7 +92,7 @@ t.test('npm doctor', function (t) {
92
92
npm . commands . doctor ( { 'node-url' : node_url } , true , function ( e , list ) {
93
93
t . ifError ( e , 'npm loaded successfully' )
94
94
t . same ( list . length , 9 , 'list should have 9 prop' )
95
- t . same ( list [ 0 ] [ 1 ] , 'OK ' , 'npm ping' )
95
+ t . same ( list [ 0 ] [ 1 ] , 'ok ' , 'npm ping' )
96
96
t . same ( list [ 1 ] [ 1 ] , 'v' + npm . version , 'npm -v' )
97
97
t . same ( list [ 2 ] [ 1 ] , process . version , 'node -v' )
98
98
t . same ( list [ 3 ] [ 1 ] , common . registry + '/' , 'npm config get registry' )
@@ -113,7 +113,7 @@ t.test('npm doctor works without registry', function (t) {
113
113
npm . commands . doctor ( { 'node-url' : node_url } , true , function ( e , list ) {
114
114
t . ifError ( e , 'npm loaded successfully' )
115
115
t . same ( list . length , 9 , 'list should have 9 prop' )
116
- t . same ( list [ 0 ] [ 1 ] , 'OK ' , 'npm ping' )
116
+ t . same ( list [ 0 ] [ 1 ] , 'ok ' , 'npm ping' )
117
117
t . same ( list [ 1 ] [ 1 ] , 'v' + npm . version , 'npm -v' )
118
118
t . same ( list [ 2 ] [ 1 ] , process . version , 'node -v' )
119
119
t . same ( list [ 3 ] [ 1 ] , '' , 'no registry, but no crash' )
0 commit comments