Browse Source

Tweaking nvm_ls_current tests.

add_nvm_num_version_groups
Jordan Harband 10 years ago
parent
commit
da693eaea1
  1. 2
      test/fast/Unit tests/nvm_ls_current

2
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"

Loading…
Cancel
Save