Permalink
Browse files

Making sure this test cleans up after itself.

  • Loading branch information...
1 parent f697474 commit 1d6158440259dd88bf076d4d75de9043538d707b @ljharb ljharb committed Jul 15, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/fast/Running "nvm use x" should create and change the "current" symlink
View
2 test/fast/Running "nvm use x" should create and change the "current" symlink
@@ -5,6 +5,7 @@
rm -rf ../../v0.10.29
mkdir ../../v0.10.29
nvm use 0.10.29
+rmdir ../../v0.10.29
if [ ! -L ../../current ];then
echo "Expected 'current' symlink to be created!"
@@ -21,6 +22,7 @@ fi
rm -rf ../../v0.11.13
mkdir ../../v0.11.13
nvm use 0.11.13
+rmdir ../../v0.11.13
newLink="$(readlink ../../current)"

0 comments on commit 1d61584

Please sign in to comment.