diff --git a/test/install_script/nvm_check_global_modules b/test/install_script/nvm_check_global_modules index 5a44241..0c6889a 100755 --- a/test/install_script/nvm_check_global_modules +++ b/test/install_script/nvm_check_global_modules @@ -27,7 +27,7 @@ setup () { setup -npm install -g nop >/dev/null +npm install -g nop >/dev/null || die 'nvm_check_global_modules cannot be tested because `npm` cannot install the `nop` package' message=$(nvm_check_global_modules) [ ! -z "$message" ] || { puts '-- `npm --version`: '"$(npm --version)"