Commit Graph

5 Commits

Author SHA1 Message Date
Jordan Harband
c451e7a4c8 [Tests] set $_ before sourcing nvm.sh in fast tests
nvm.sh uses `NVM_SCRIPT_SOURCE="$_"` to detect its source location.
Adding `: nvm.sh` before each source line ensures `$_` is set correctly, preventing breakage when the previous command (e.g., `set -ex`) overwrites it.
2026-01-26 21:41:57 -08:00
Peter Dave Hello
f7763c8ba9 [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Qiangjun Ran
cadbbced20 [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Jordan Harband
d28703f9e0 Update nvm_ensure_version_prefix to support iojs-prefixed version strings. 2015-01-12 18:15:51 -08:00
Jordan Harband
d5e21be164 Add nvm_ensure_version_prefix unit tests. 2015-01-13 23:51:54 -08:00