From 2156245dcad743367386586c9afa2a2f027b4f21 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 17 Oct 2016 16:39:45 +0100 Subject: [PATCH] Test zsh-nvm installs nvm --- ... zsh-nvm installs nvm if it isn't already installed | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/loading/Check zsh-nvm installs nvm if it isn't already installed diff --git a/tests/loading/Check zsh-nvm installs nvm if it isn't already installed b/tests/loading/Check zsh-nvm installs nvm if it isn't already installed new file mode 100755 index 0000000..6421ad9 --- /dev/null +++ b/tests/loading/Check zsh-nvm installs nvm if it isn't already installed @@ -0,0 +1,10 @@ +source ../common.sh + +# Check nvm isn't already installed +[[ ! -f "$NVM_DIR/nvm.sh" ]] || die "nvm is already installed $NVM_DIR/nvm.sh" + +# Load zsh-nvm +load_zsh_nvm + +# Check nvm is now installed +[[ -f "$NVM_DIR/nvm.sh" ]] || die "nvm wasn't installed"