diff options
Diffstat (limited to 'test/lib/adduser.js')
-rw-r--r-- | test/lib/adduser.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/adduser.js b/test/lib/adduser.js index 106cd429e..d9106e1bd 100644 --- a/test/lib/adduser.js +++ b/test/lib/adduser.js @@ -78,6 +78,10 @@ const AddUser = requireInject('../../lib/adduser.js', { const adduser = new AddUser(npm) +test('usage', (t) => { + t.match(adduser.usage, 'adduser', 'usage has command name in it') + t.end() +}) test('simple login', (t) => { adduser.exec([], (err) => { t.ifError(err, 'npm adduser') |