mirror of https://github.com/docker/docs.git
Fix Typos in integration tests
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
6cac8cc95f
commit
3ab5520ea3
test/integration/cli
|
@ -76,13 +76,13 @@ load ${BASE_TEST_DIR}/helpers.bash
|
|||
[[ ${lines[0]} == "Error removing host \"∞\": Loading host from store failed: Host does not exist: \"∞\"" ]]
|
||||
}
|
||||
|
||||
@test "none: rm is succesful 'machine rm 0'" {
|
||||
@test "none: rm is successful 'machine rm 0'" {
|
||||
run machine rm 0
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
# Should be replaced by the test below
|
||||
@test "none: rm is succesful 'machine rm a'" {
|
||||
@test "none: rm is successful 'machine rm a'" {
|
||||
run machine rm a
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
load ${BASE_TEST_DIR}/helpers.bash
|
||||
|
||||
@test "status: show error in case of no args" {
|
||||
run machine inspect
|
||||
run machine status
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"must specify a machine name"* ]]
|
||||
[[ ${output} == *"Expected one machine name as an argument."* ]]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
load ${BASE_TEST_DIR}/helpers.bash
|
||||
|
||||
@test "url: show error in case of no args" {
|
||||
run machine inspect
|
||||
run machine url
|
||||
[ "$status" -eq 1 ]
|
||||
[[ ${output} == *"must specify a machine name"* ]]
|
||||
[[ ${output} == *"Expected one machine name as an argument."* ]]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue