dot-files/test/fast/Unit tests/nvm_node_prefix
Buddy Sandidge 02f77ff801 Squashed 'nvm/' content from commit 21c372795
git-subtree-dir: nvm
git-subtree-split: 21c37279556a0576a411ca01124487784105d4b4
2016-02-03 20:44:00 -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?!'