nvm/test/fast/Unit tests/nvm_iojs_prefix

8 lines
178 B
Plaintext
Raw Permalink Normal View History

2015-01-13 10:15:04 +08:00
#!/bin/sh
die () { echo "$@" ; exit 1; }
2015-01-13 10:15:04 +08:00
\. ../../../nvm.sh
2015-01-13 10:15:04 +08:00
[ "$(nvm_iojs_prefix)" = "iojs" ] || die '"nvm_iojs_prefix" did not return the string "iojs". why did this fail?!'