1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-12 12:06:20 +08:00
nvm/test/fast/Unit tests/nvm_iojs_prefix
2015-01-12 18:15:04 -08:00

8 lines
175 B
Bash
Executable File

#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "$(nvm_iojs_prefix)" = "iojs" ] || die '"nvm_iojs_prefix" did not return the string "iojs". why did this fail?!'