mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-02-27 10:25:31 +08:00
Test zsh-nvm wraps nvm
This commit is contained in:
parent
2eae5bdb6a
commit
ba7477f5bb
10
tests/loading/Check zsh-nvm wraps nvm
Executable file
10
tests/loading/Check zsh-nvm wraps nvm
Executable 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"
|
Loading…
Reference in New Issue
Block a user