nvm/test/fast/Unit tests/nvm_alias_path

8 lines
164 B
Plaintext
Raw Normal View History

#!/bin/sh
die () { echo "$@" ; exit 1; }
\. ../../../nvm.sh
2018-03-06 12:38:01 +08:00
[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not return correct location"