mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 09:18:59 +08:00
tests from readme
fast tests alias unalias more alias tests tests document testing warn not to run while testing chmod +x deactivate specify the version (commit) of urchin installation test run tests for ls switch unsetopt to the thing creationix has rename tests urchin log adjust urchin version
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ../../../nvm.sh
|
||||
[ $(nvm alias test1 | wc -l) = '2' ]
|
||||
4
test/fast/Aliases/Running "nvm alias" should list all aliases.
Executable file
4
test/fast/Aliases/Running "nvm alias" should list all aliases.
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ../../../nvm.sh
|
||||
[ $(nvm alias | wc -l) = '10' ]
|
||||
6
test/fast/Aliases/setup_dir
Executable file
6
test/fast/Aliases/setup_dir
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in $(seq 1 10)
|
||||
do
|
||||
echo v0.0.$i > ../../../alias/test$i
|
||||
done
|
||||
Reference in New Issue
Block a user