1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-12 20:17:28 +08:00
nvm/test/fast/Unit tests/nvm_node_prefix
2015-01-13 14:16:35 -08:00

8 lines
175 B
Bash
Executable File

#!/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?!'