Test zsh-nvm wraps nvm

This commit is contained in:
Luke Childs 2016-10-19 14:53:53 +01:00
parent a12a0e368c
commit 61a8aba6f1

View File

@ -0,0 +1,10 @@
source ../common.sh
# Load zsh-nvm
load_zsh_nvm
# Check unwrapped nvm doesn't have revert command
_zsh_nvm_nvm revert && die "Unwrapped nvm already has revert command"
# Check nvm is wrapped with our revert command
nvm revert || die "nvm isn't wrapped with our revert command"