Files
nvm/test/slow/nvm exec/Running 'nvm exec' with help should not parse
T
2020-11-20 13:06:28 +02:00

10 lines
206 B
Bash

#!/bin/sh
die () { echo "$@" ; exit 1; }
\. ../../../nvm.sh
nvm use 0.10
nvm exec stable -- node --help | grep 'Usage: node [options]' || die "Help menu should have been displayed for node and not nvm"