From 704608a79568232090dc63e896e8c0439fe08044 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sun, 23 Jun 2019 22:48:19 +0800 Subject: [PATCH] Maintain consistent no space before `;` syntax --- tests/run-tests.sh | 2 +- tests/test-volume-removal.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index f73655c..735457c 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -for i in $(dirname $0)/test-*.sh ; do +for i in $(dirname $0)/test-*.sh; do echo "Running ${i}..." ${i} done diff --git a/tests/test-volume-removal.sh b/tests/test-volume-removal.sh index c1be2a2..0de3155 100755 --- a/tests/test-volume-removal.sh +++ b/tests/test-volume-removal.sh @@ -9,6 +9,6 @@ REMOVE_VOLUMES=1 ./docker-gc # when a volume exists it should be removed docker volume create -if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 1 ]] ; then echo "Volume count is not 1" && exit 1 ; fi +if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 1 ]]; then echo "Volume count is not 1" && exit 1; fi REMOVE_VOLUMES=1 ./docker-gc -if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 0 ]] ; then echo "Volume has not been removed" && exit 1 ; fi +if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 0 ]]; then echo "Volume has not been removed" && exit 1; fi