mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fixing unit tests for 'asdf list'
Now that we put spacing in front of the version #'s the tests need to reflect that.
This commit is contained in:
parent
8a018715c7
commit
ba1b181b58
@ -18,7 +18,7 @@ teardown() {
|
||||
run install_command dummy 1.0
|
||||
run install_command dummy 1.1
|
||||
run list_command
|
||||
[ "$(echo -e "dummy\n1.0\n1.1")" == "$output" ]
|
||||
[ "$(echo -e "dummy\n 1.0\n 1.1")" == "$output" ]
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
@ -32,6 +32,6 @@ teardown() {
|
||||
run install_command dummy 1.0
|
||||
run install_command dummy 1.1
|
||||
run list_command dummy
|
||||
[ "$(echo -e "1.0\n1.1")" == "$output" ]
|
||||
[ "$(echo -e " 1.0\n 1.1")" == "$output" ]
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user