dot-files/test/slow/nvm run/Running "nvm run 0.x" should work
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

10 lines
178 B
Bash
Executable File

#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "$(nvm run 0.10.7 --version | tail -1)" = "v0.10.7" ] || die "\`nvm run\` failed to run with the correct version"