mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-05 03:58:44 +00:00
updated tests for altered output
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
die () { echo $@ ; exit 1; }
|
||||
|
||||
. ../../nvm.sh
|
||||
[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version"
|
||||
[ "$(nvm current)" == `node -v` ] || die "Failed to find current version"
|
||||
|
Reference in New Issue
Block a user