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

7 lines
143 B
Plaintext
Raw Normal View History

2013-10-10 12:58:51 +08:00
#!/bin/sh
2013-12-17 14:28:31 +08:00
die () { echo $@ ; exit 1; }
2013-10-10 12:58:51 +08:00
. ../../nvm.sh
2014-02-22 09:25:45 +08:00
[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version"