Removing unnecessary cleanup in "Listing Versions" tests.
parent
8d05ab63f1
commit
15b3e7b6a8
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
cleanup () { unset -f nvm_has_system_node; }
|
||||
die () { cleanup ; echo $@ ; exit 1; }
|
||||
die () { echo $@ ; exit 1; }
|
||||
|
||||
. ../../../nvm.sh
|
||||
|
||||
|
|
|
@ -2,13 +2,10 @@
|
|||
|
||||
mkdir ../../../v0.1.3
|
||||
mkdir ../../../v0.2.3
|
||||
mkdir ../../../versions
|
||||
|
||||
. ../../../nvm.sh
|
||||
|
||||
mkdir ../../../versions
|
||||
|
||||
[ -z "$(nvm ls | \grep 'versions')" ]
|
||||
# The result should contain only the appropriate version numbers.
|
||||
|
||||
rmdir ../../../versions
|
||||
|
||||
|
|
Loading…
Reference in New Issue