Fix tests so that they fail in zsh (for #505)

master
Jordan Harband 2014-08-21 22:40:18 -07:00
parent 1c85068091
commit 70ac1e7fa4
1 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@ die () { echo $@ ; exit 1; }
. ../../../nvm.sh
nvm_version_greater 0.10.0 0.2.12 || die '"nvm_version_greater 0.10.0 0.2.12" did not return true'
! nvm_version_greater 0.10.0 0.20.12 || die '"nvm_version_greater 0.10.0 0.20.12" returned true'
! nvm_version_greater 0.10.0 0.10.0 || die '"nvm_version_greater" returned false for the same two versions'
nvm_version_greater 0.10.0 0.20.12 && die '"nvm_version_greater 0.10.0 0.20.12" returned true'
nvm_version_greater 0.10.0 0.10.0 && die '"nvm_version_greater" returned false for the same two versions'