nvm/test/slow/nvm run/Running "nvm run 0.x" should work
2016-11-03 23:44:59 -07:00

10 lines
179 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"