tree: 51cdaeeaf604a5c895e8c56db2203fb331aabeb5 [
nvm should remove the last trailing slash in $NVM_DIR
Running "nvm alias" should create a file in the alias directory.
Running "nvm current" should display current nvm environment.
Running "nvm deactivate" should unset the nvm environment variables.
Running "nvm install" with "--reinstall-packages-from" requires a valid version
Running "nvm install" with an invalid version fails nicely
Running "nvm unalias" should remove the alias file.
Running "nvm uninstall" should remove the appropriate directory.
Running "nvm uninstall" with incorrect file permissions fails nicely
Running "nvm unload" should unset all function and variables.
Running "nvm use foo" where "foo" is circular aborts
Running "nvm use iojs" uses latest io.js version
Running "nvm use system" should work as expected
Running "nvm use x" should create and change the "current" symlink
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false
Running "nvm use" should drop CR char automatically.
Sourcing nvm.sh should make the nvm command available.
Sourcing nvm.sh should not modify parameters of caller