Removing unnecessary cleanup in "Listing Versions" tests.

master
Jordan Harband 2014-09-16 08:59:00 -07:00
parent 8d05ab63f1
commit 15b3e7b6a8
2 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,6 @@
#!/bin/sh
cleanup () { unset -f nvm_has_system_node; }
die () { cleanup ; echo $@ ; exit 1; }
die () { echo $@ ; exit 1; }
. ../../../nvm.sh

View File

@ -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