fix logic error in nvm deactivate test

master
Fraser Tweedale 2014-02-21 21:06:53 +10:00
parent a3331ffdb0
commit 21771e7369
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ nvm use v0.2.3 &&
[ `expr $PATH : ".*v0.2.3/.*/bin"` != 0 ] || die "Failed to activate v0.2.3"
nvm deactivate &&
[ `expr $PATH : ".*v0.2.3/.*/bin"` != 0 ] || die "Failed to deactivate v0.2.3"
[ `expr $PATH : ".*v0.2.3/.*/bin"` = 0 ] || die "Failed to deactivate v0.2.3"