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
2cd2c0f72e
Remove useless trailing newlines
2018-02-26 01:01:30 +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
5c7f08843d
Add error checking to nvm_tree_contains_path
2014-08-21 17:15:53 -07:00
Jordan Harband
6e6c5c4e2a
Removing an invalid option to touch from this test.
2014-08-21 17:19:43 -07:00
Jordan Harband
1c50c5c7aa
Add nvm_tree_contains_path function
2014-07-21 02:03:04 -07:00