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:
@ -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)
|
||||||
'
|
'
|
||||||
|
@ -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' '
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user