mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Test zsh-nvm wraps nvm
This commit is contained in:
parent
a12a0e368c
commit
61a8aba6f1
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