fix whitespace trimming
License: MIT Signed-off-by: Jeromy Johnson <why@ipfs.io>
Jeromy Johnson committed
Mar 14, 2016 at 16:36 UTC
655804c5ef04855fbb9ea0a6e4f217117791cb07
1 file changed
+2
-2
test/sharness/t0110-gateway.sh
+2
-2
@@ -96,8 +96,8 @@ test_expect_success "GET /api/v0/version succeeds" '
96
'
97
98
test_expect_success "output only has one transfer encoding header" '
99
- grep "Transfer-Encoding: chunked" version_out | wc -l > tecount_out &&
100
- echo " 1" > tecount_exp &&
99
+ grep "Transfer-Encoding: chunked" version_out | wc -l | xargs echo > tecount_out &&
100
+ echo "1" > tecount_exp &&
101
test_cmp tecount_out tecount_exp
102
'
103