mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 06:41:50 +00:00
Tweaking nvm_ls_current tests.
This commit is contained in:
parent
5363ff8916
commit
da693eaea1
@ -6,7 +6,7 @@ die () { echo $@ ; exit 1; }
|
|||||||
|
|
||||||
return_zero () { return 0; }
|
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_PWD=$(pwd)
|
||||||
TEST_DIR="$TEST_PWD/nvm_ls_current_tmp"
|
TEST_DIR="$TEST_PWD/nvm_ls_current_tmp"
|
||||||
|
Loading…
Reference in New Issue
Block a user