1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-01 08:15:43 +08:00

Fix typo and formatting issues.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
This commit is contained in:
Kevin Atkinson
2017-01-04 16:01:23 -05:00
parent defd1a17e5
commit 78ff01757f
3 changed files with 3 additions and 3 deletions

View File

@ -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 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_expect_success "ipfs cat file fails" '
test_must_fail ipfs cat $(cat oh_hash) test_must_fail ipfs cat $(cat oh_hash)
' '

View File

@ -54,7 +54,7 @@ test_expect_success "publish something" '
test_expect_success "wait until echo > wait executed" ' test_expect_success "wait until echo > wait executed" '
cat wait && cat wait &&
test_cmp pubErr empty && test_cmp pubErr empty &&
test_cmp expected actual test_cmp expected actual
' '
test_expect_success 'stop iptb' ' test_expect_success 'stop iptb' '

View File

@ -132,7 +132,7 @@ func TestPBdataTools(t *testing.T) {
} }
func TestMetedata(t *testing.T) { func TestMetadata(t *testing.T) {
meta := &Metadata{ meta := &Metadata{
MimeType: "audio/aiff", MimeType: "audio/aiff",
Size: 12345, Size: 12345,