diff --git a/test/integration/api/rename.bats b/test/integration/api/rename.bats index 8e11687ffc..48958ddafd 100644 --- a/test/integration/api/rename.bats +++ b/test/integration/api/rename.bats @@ -25,7 +25,7 @@ function teardown() { # rename container, conflict and fail run docker_swarm rename test_container another_container [ "$status" -ne 0 ] - [[ "${output}" == *"Conflict,"* ]] + [[ "${output}" == *"Conflict"* ]] # rename container, successful docker_swarm rename test_container rename_container @@ -48,4 +48,4 @@ function teardown() { docker_swarm rename test "$prefix" run docker_swarm rename test "$id" [ "$status" -eq 1 ] -} \ No newline at end of file +}