Browse Source

Test zsh-nvm wraps nvm

pull/10/head
Luke Childs 8 years ago
parent
commit
ba7477f5bb
  1. 10
      tests/loading/Check zsh-nvm wraps nvm

10
tests/loading/Check zsh-nvm wraps nvm

@ -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"
Loading…
Cancel
Save