nvm/test/fast/Running "nvm current" shoul...

7 lines
130 B
Bash
Executable File

#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../nvm.sh
[ "$(nvm current)" == `node -v` ] || die "Failed to find current version"