mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 10:49:06 +00:00
[meta] Rename some files to be more cross platform
This commit is contained in:

committed by
Jordan Harband

parent
4e9df33cb7
commit
9849bf494d
12
test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version
Executable file
12
test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
\. ../../../nvm.sh
|
||||
|
||||
echo "0.10.7" > .nvmrc
|
||||
|
||||
[ "$(nvm run --version | tail -1)" = "v0.10.7" ] || die "\`nvm run\` failed to run with the .nvmrc version"
|
||||
|
||||
[ "$(nvm run --version | head -1)" = "Found '$PWD/.nvmrc' with version <0.10.7>" ] || die "\`nvm run\` failed to print out the \"found in .nvmrc\" message"
|
Reference in New Issue
Block a user