nvm/test/slow/nvm run/Running "nvm run 0.x" should work
2016-11-07 03:34:36 +08:00

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