From 78ff01757fa403197d8879c581c9a75a258b2ff8 Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Wed, 4 Jan 2017 16:01:23 -0500 Subject: [PATCH] Fix typo and formatting issues. License: MIT Signed-off-by: Kevin Atkinson --- test/sharness/t0040-add-and-cat.sh | 2 +- test/sharness/t0180-pubsub.sh | 2 +- unixfs/format_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/sharness/t0040-add-and-cat.sh b/test/sharness/t0040-add-and-cat.sh index cf980b5c3..5e232d252 100755 --- a/test/sharness/t0040-add-and-cat.sh +++ b/test/sharness/t0040-add-and-cat.sh @@ -421,7 +421,7 @@ test_expect_success "ipfs add --only-hash succeeds" ' echo "unknown content for only-hash" | ipfs add --only-hash -q > oh_hash ' -#TODO: this doesnt work when online hence separated out from test_add_cat_file +#TODO: this doesn't work when online hence separated out from test_add_cat_file test_expect_success "ipfs cat file fails" ' test_must_fail ipfs cat $(cat oh_hash) ' diff --git a/test/sharness/t0180-pubsub.sh b/test/sharness/t0180-pubsub.sh index 503815e9f..418448695 100755 --- a/test/sharness/t0180-pubsub.sh +++ b/test/sharness/t0180-pubsub.sh @@ -54,7 +54,7 @@ test_expect_success "publish something" ' test_expect_success "wait until echo > wait executed" ' cat wait && test_cmp pubErr empty && - test_cmp expected actual + test_cmp expected actual ' test_expect_success 'stop iptb' ' diff --git a/unixfs/format_test.go b/unixfs/format_test.go index 10421431a..6edc2ca0b 100644 --- a/unixfs/format_test.go +++ b/unixfs/format_test.go @@ -132,7 +132,7 @@ func TestPBdataTools(t *testing.T) { } -func TestMetedata(t *testing.T) { +func TestMetadata(t *testing.T) { meta := &Metadata{ MimeType: "audio/aiff", Size: 12345,