From 70ac1e7fa44cdee533e889008a5783efaae1fa26 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 21 Aug 2014 22:40:18 -0700 Subject: [PATCH] Fix tests so that they fail in zsh (for #505) --- test/fast/Unit tests/nvm_version_greater | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fast/Unit tests/nvm_version_greater b/test/fast/Unit tests/nvm_version_greater index 8f8f551..78dfb73 100755 --- a/test/fast/Unit tests/nvm_version_greater +++ b/test/fast/Unit tests/nvm_version_greater @@ -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'