nvm/test/fast/Unit tests/nvm_node_prefix

8 lines
176 B
Plaintext
Raw Normal View History

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