From da693eaea12e624d2a5060da0049d85e54fd96f5 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 16 Sep 2014 08:35:48 -0700 Subject: [PATCH] Tweaking nvm_ls_current tests. --- test/fast/Unit tests/nvm_ls_current | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fast/Unit tests/nvm_ls_current b/test/fast/Unit tests/nvm_ls_current index c475157..59f0a60 100755 --- a/test/fast/Unit tests/nvm_ls_current +++ b/test/fast/Unit tests/nvm_ls_current @@ -6,7 +6,7 @@ die () { echo $@ ; exit 1; } return_zero () { return 0; } -[ "$( (nvm deactivate > /dev/null 2>&1) && nvm_ls_current)" = "system" ] || die 'when deactivated, did not return "system"' +[ "$(nvm deactivate > /dev/null 2>&1 ; nvm_ls_current)" = "system" ] || die 'when deactivated, did not return "system"' TEST_PWD=$(pwd) TEST_DIR="$TEST_PWD/nvm_ls_current_tmp"