From 6947d27e182ab7cd5f325d19405fa8140d4cc9dd Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Fri, 10 Apr 2015 11:33:06 -0700 Subject: [PATCH] api integration tests: Indent with tabs rather than spaces Signed-off-by: Andrea Luzzardi --- test/integration/api.bats | 50 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/test/integration/api.bats b/test/integration/api.bats index 80f58debd8..523f772d61 100644 --- a/test/integration/api.bats +++ b/test/integration/api.bats @@ -16,35 +16,35 @@ function teardown() { } @test "docker ps -n 3 should return the 3 last containers, including non running one" { - start_docker 1 - swarm_manage - run docker_swarm run -d busybox sleep 42 - run docker_swarm run -d busybox false - run docker_swarm ps -n 3 - [ "${#lines[@]}" -eq 3 ] + start_docker 1 + swarm_manage + run docker_swarm run -d busybox sleep 42 + run docker_swarm run -d busybox false + run docker_swarm ps -n 3 + [ "${#lines[@]}" -eq 3 ] - run docker_swarm run -d busybox true - run docker_swarm ps -n 3 - [ "${#lines[@]}" -eq 4 ] + run docker_swarm run -d busybox true + run docker_swarm ps -n 3 + [ "${#lines[@]}" -eq 4 ] - run docker_swarm run -d busybox true - run docker_swarm ps -n 3 - [ "${#lines[@]}" -eq 4 ] + run docker_swarm run -d busybox true + run docker_swarm ps -n 3 + [ "${#lines[@]}" -eq 4 ] } @test "docker ps -l should return the last container, including non running one" { - start_docker 1 - swarm_manage - run docker_swarm run -d busybox sleep 42 - sleep 1 #sleep so the 2 containers don't start at the same second - run docker_swarm run -d busybox true - run docker_swarm ps -l - [ "${#lines[@]}" -eq 2 ] - [[ "${lines[1]}" == *"true"* ]] + start_docker 1 + swarm_manage + run docker_swarm run -d busybox sleep 42 + sleep 1 #sleep so the 2 containers don't start at the same second + run docker_swarm run -d busybox true + run docker_swarm ps -l + [ "${#lines[@]}" -eq 2 ] + [[ "${lines[1]}" == *"true"* ]] - sleep 1 #sleep so the container doesn't start at the same second as 'busybox true' - run docker_swarm run -d busybox false - run docker_swarm ps -l - [ "${#lines[@]}" -eq 2 ] - [[ "${lines[1]}" == *"false"* ]] + sleep 1 #sleep so the container doesn't start at the same second as 'busybox true' + run docker_swarm run -d busybox false + run docker_swarm ps -l + [ "${#lines[@]}" -eq 2 ] + [[ "${lines[1]}" == *"false"* ]] }