Skip to content

Commit

Permalink
fix add-and-cat sharness test on osx
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Steven Allen <[email protected]>
  • Loading branch information
Stebalien authored and AFDudley committed Mar 22, 2018
1 parent 32171cc commit 5dfad04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/sharness/t0040-add-and-cat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test_add_cat_file() {
'

test_expect_success "ipfs cat with length output looks good" '
echo -n "Hello Wo" >expected &&
printf "Hello Wo" >expected &&
test_cmp expected actual
'

Expand All @@ -92,8 +92,7 @@ test_add_cat_file() {
'

test_expect_success "ipfs cat multiple hashes with offset and length looks good" '
echo " Worlds!" >expected &&
echo -n "Hello " >>expected &&
printf " Worlds!\nHello " >expected &&
test_cmp expected actual
'

Expand Down

0 comments on commit 5dfad04

Please sign in to comment.