Including test for specific version listing

This fixes the issue of nvm ls v[:digit:].[:digit:].[:digit:] listing the version even if it isn't available
master
Andrew Crites 2014-06-12 14:01:26 -04:00
parent 0e1f2408c9
commit 1b22c2e2b1
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
mkdir ../../../v0.1.2
. ../../../nvm.sh
nvm ls v0.1 | grep v0.1.2 &&
nvm ls v0.1.2 | grep v0.1.2 &&
nvm ls v0.1. | grep N/A &&
nvm ls v0.1.1 | grep N/A