@cryptotaxi247 / kubo / commits / c6a7b51f0

t0062: fix indentation

License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>

Christian Couder committed Feb 19, 2016 at 04:24 UTC c6a7b51f0c2805fee9bb7ea68405bc28d3ba6171
1 file changed +17 -17
test/sharness/t0062-daemon-api.sh
+17 -17
@@ -39,29 +39,29 @@ test_client_must_fail() {
39 }
40
41 test_client_suite() {
42 - state="$1"
43 - cfg_success="$2"
44 - diff_success="$3"
42 + state="$1"
43 + cfg_success="$2"
44 + diff_success="$3"
45 api_fromcfg="$4"
46 api_different="$5"
47
48 - # must always work
49 - test_client
48 + # must always work
49 + test_client
50
51 - # must always err
52 - test_client_must_fail --api "$api_unreachable"
51 + # must always err
52 + test_client_must_fail --api "$api_unreachable"
53
54 - if [ "$cfg_success" = true ]; then
55 - test_client --api "$api_fromcfg"
56 - else
57 - test_client_must_fail --api "$api_fromcfg"
58 - fi
54 + if [ "$cfg_success" = true ]; then
55 + test_client --api "$api_fromcfg"
56 + else
57 + test_client_must_fail --api "$api_fromcfg"
58 + fi
59
60 - if [ "$diff_success" = true ]; then
61 - test_client --api "$api_different"
62 - else
63 - test_client_must_fail --api "$api_different"
64 - fi
60 + if [ "$diff_success" = true ]; then
61 + test_client --api "$api_different"
62 + else
63 + test_client_must_fail --api "$api_different"
64 + fi
65 }
66
67 # first, test things without daemon, without /api file