From 182a18d9114c715d9dbea64c5fd82f6f794f33fb Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 9 Mar 2017 23:02:08 +0800 Subject: [PATCH] [Fix] Github should be GitHub --- nvm.sh | 2 +- test/slow/nvm_get_latest/nvm_get_latest failed redirect | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nvm.sh b/nvm.sh index 7fec4d9..fd4f7f0 100755 --- a/nvm.sh +++ b/nvm.sh @@ -64,7 +64,7 @@ nvm_get_latest() { return 1 fi if [ -z "${NVM_LATEST_URL}" ]; then - nvm_err "http://latest.nvm.sh did not redirect to the latest release on Github" + nvm_err "http://latest.nvm.sh did not redirect to the latest release on GitHub" return 2 fi nvm_echo "${NVM_LATEST_URL##*/}" diff --git a/test/slow/nvm_get_latest/nvm_get_latest failed redirect b/test/slow/nvm_get_latest/nvm_get_latest failed redirect index 61e6680..e8ee63a 100755 --- a/test/slow/nvm_get_latest/nvm_get_latest failed redirect +++ b/test/slow/nvm_get_latest/nvm_get_latest failed redirect @@ -17,7 +17,7 @@ wget() { OUTPUT="$(nvm_get_latest 2>&1)" EXIT_CODE="$(nvm_get_latest >/dev/null 2>&1 ; echo $?)" -[ "_$OUTPUT" = "_http://latest.nvm.sh did not redirect to the latest release on Github" ] \ +[ "_$OUTPUT" = "_http://latest.nvm.sh did not redirect to the latest release on GitHub" ] \ || die "failed redirect did not report correct error message, got '$OUTPUT'" [ "_$EXIT_CODE" = "_2" ] \ || die "failed redirect did not exit with code 2, got $EXIT_CODE"