mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-31 01:45:50 +08:00
[Tests] use rimraf over rmdir in teardowns
- fix test 'Running "nvm ls" should display all installed versions.': only expect versions created by this test, but no versions created by other tests
This commit is contained in:
committed by
Jordan Harband
parent
43402df896
commit
a1abfd1fe4
@@ -28,21 +28,15 @@ nvm ls | grep iojs-v0.1.2 >/dev/null || die "iojs-v0.1.2 not found in: $(nvm ls)
|
||||
|
||||
OUTPUT="$(nvm_ls)"
|
||||
EXPECTED_OUTPUT="v0.0.1
|
||||
v0.0.2
|
||||
v0.0.3
|
||||
v0.0.9
|
||||
v0.0.20
|
||||
iojs-v0.1.2
|
||||
v0.1.3
|
||||
v0.1.4
|
||||
v0.2.3
|
||||
v0.3.1
|
||||
v0.3.3
|
||||
v0.3.9
|
||||
iojs-v0.10.2
|
||||
v0.12.9
|
||||
v0.12.87
|
||||
v0.20.3"
|
||||
v0.12.87"
|
||||
if nvm_has_system_node || nvm_has_system_iojs; then
|
||||
EXPECTED_OUTPUT="${EXPECTED_OUTPUT}
|
||||
system"
|
||||
|
||||
Reference in New Issue
Block a user