Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-05-19 10:02:39 +0300
committerRebecca Turner <me@re-becca.org>2015-06-26 03:27:00 +0300
commit7e188d77efc7d7f75152a09c3325d9023fd5328b (patch)
treefdae0cf752c1f5f0a520b387ccd720bbb4929676 /test
parente8f3b1f9ef65fd0e1673584838f7109da92ebdca (diff)
Cleanup the output array so that we don't change the API output
Diffstat (limited to 'test')
-rw-r--r--test/tap/outdated-depth-integer.js3
-rw-r--r--test/tap/outdated.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/tap/outdated-depth-integer.js b/test/tap/outdated-depth-integer.js
index 485e84e30..6bfb304b1 100644
--- a/test/tap/outdated-depth-integer.js
+++ b/test/tap/outdated-depth-integer.js
@@ -46,7 +46,8 @@ test('outdated depth integer', function (t) {
undefined, // no version installed
'1.3.1', // wanted
'1.5.1', // latest
- '1.3.1'
+ '1.3.1',
+ null
]]
mr({port : common.port}, function (er, s) {
diff --git a/test/tap/outdated.js b/test/tap/outdated.js
index 146c2007a..d6425192a 100644
--- a/test/tap/outdated.js
+++ b/test/tap/outdated.js
@@ -80,7 +80,8 @@ test('it should not throw', function (t) {
'1.3.1',
'1.3.1',
'1.5.1',
- '1.3.1'
+ '1.3.1',
+ null
]
]