mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Adding a slow nvm current
test, since it needs an installed version of node.
This commit is contained in:
parent
55677dba4a
commit
4512337c11
10
test/slow/Running "nvm current" should display current nvm environment.
Executable file
10
test/slow/Running "nvm current" should display current nvm environment.
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
die () { echo $@ ; exit 1; }
|
||||
|
||||
. ../../nvm.sh
|
||||
|
||||
nvm install 0.10
|
||||
|
||||
[ "$(nvm current)" = "$(node -v)" ] || die "Failed to find current version: got \"$(nvm current)\", expected \"$(node -v)\""
|
||||
|
Loading…
Reference in New Issue
Block a user