nvm/test/slow/nvm run/Running 'nvm run --harmony ...

9 lines
258 B
Plaintext
Raw Normal View History

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