nvm/test/fast/Unit tests/nvm_node_prefix

8 lines
175 B
Plaintext
Raw Normal View History

2015-01-14 06:16:35 +08:00
#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "$(nvm_node_prefix)" = "node" ] || die '"nvm_node_prefix" did not return the string "node". why did this fail?!'