@cryptotaxi247 / kubo / commits / b4ed464ba

remove extra newline from expected command output

License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed May 9, 2018 at 15:26 UTC b4ed464ba55031a416aeaf1f53e52ab14d31603b
1 file changed +5 -5
test/sharness/t0090-get.sh
+5 -5
@@ -20,7 +20,7 @@ test_ipfs_get_flag() {
20 '
21
22 test_expect_success "ipfs get $flag output looks good" '
23 - printf "%s\n\n" "Saving archive to $HASH$ext" >expected &&
23 + printf "%s\n" "Saving archive to $HASH$ext" >expected &&
24 test_cmp expected actual
25 '
26
@@ -51,7 +51,7 @@ test_get_cmd() {
51 '
52
53 test_expect_success "ipfs get output looks good" '
54 - printf "%s\n\n" "Saving file(s) to $HASH" >expected &&
54 + printf "%s\n" "Saving file(s) to $HASH" >expected &&
55 test_cmp expected actual
56 '
57
@@ -70,7 +70,7 @@ test_get_cmd() {
70 '
71
72 test_expect_success "ipfs get output looks good" '
73 - printf "%s\n\n" "Saving file(s) to $HASH2" >expected2 &&
73 + printf "%s\n" "Saving file(s) to $HASH2" >expected2 &&
74 test_cmp expected2 actual2
75 '
76
@@ -94,7 +94,7 @@ test_get_cmd() {
94 '
95
96 test_expect_success "ipfs get output looks good (directory)" '
97 - printf "%s\n\n" "Saving file(s) to $HASH2" >expected &&
97 + printf "%s\n" "Saving file(s) to $HASH2" >expected &&
98 test_cmp expected actual
99 '
100
@@ -117,7 +117,7 @@ test_get_cmd() {
117 '
118
119 test_expect_success "ipfs get -a -C output looks good (directory)" '
120 - printf "%s\n\n" "Saving archive to $HASH2.tar.gz" >expected &&
120 + printf "%s\n" "Saving archive to $HASH2.tar.gz" >expected &&
121 test_cmp expected actual
122 '
123