nvm/test/fast/Running "nvm unload" should...

14 lines
183 B
Plaintext
Raw Normal View History

2014-03-17 01:16:46 +08:00
#!/bin/sh
set -ex
die () { echo $@ ; exit 1; }
2014-03-17 01:16:46 +08:00
. ../../nvm.sh
type nvm > /dev/null 2>&1 || die "nvm not loaded"
2014-03-17 01:16:46 +08:00
nvm unload
! type nvm > /dev/null 2>&1 || die "nvm not unloaded"