nvm/test/fast/Listing versions/Running "nvm ls 0.2" should...

11 lines
197 B
Plaintext
Raw Normal View History

#!/bin/sh
mkdir ../../../v0.1.3
mkdir ../../../v0.2.3
. ../../../nvm.sh
# The result should contain only the appropriate version numbers.
nvm ls 0.2 | grep v0.2.3 &&
nvm ls 0.1 | grep -v v0.2.3