nvm/test/fast/Unit tests/nvm_version_path

10 lines
150 B
Bash
Executable File

#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "$(nvm_version_path)" = "$NVM_DIR" ] &&
[ "$(nvm_version_path foo)" = "$NVM_DIR/foo" ]