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

14 lines
184 B
Bash
Executable File

#!/bin/sh
set -ex
die () { echo $@ ; exit 1; }
\. ../../nvm.sh
type nvm > /dev/null 2>&1 || die "nvm not loaded"
nvm unload
! type nvm > /dev/null 2>&1 || die "nvm not unloaded"