mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 15:27:57 +08:00
ls: report real size by default
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com> This commit was moved from ipfs/interface-go-ipfs-core@d48b9e1c1f This commit was moved from ipfs/boxo@b1caa58eae
This commit is contained in:
parent
12b64d0d40
commit
f2b47a6665
@ -704,8 +704,8 @@ func (tp *provider) TestLs(t *testing.T) {
|
||||
if len(links) != 1 {
|
||||
t.Fatalf("expected 1 link, got %d", len(links))
|
||||
}
|
||||
if links[0].Size != 23 {
|
||||
t.Fatalf("expected size = 23, got %d", links[0].Size)
|
||||
if links[0].Size != 15 {
|
||||
t.Fatalf("expected size = 15, got %d", links[0].Size)
|
||||
}
|
||||
if links[0].Name != "name-of-file" {
|
||||
t.Fatalf("expected name = name-of-file, got %s", links[0].Name)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user