Commit d48b9e1c authored by Łukasz Magiera's avatar Łukasz Magiera Committed by Steven Allen

ls: report real size by default

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent e51dd550
...@@ -704,8 +704,8 @@ func (tp *provider) TestLs(t *testing.T) { ...@@ -704,8 +704,8 @@ func (tp *provider) TestLs(t *testing.T) {
if len(links) != 1 { if len(links) != 1 {
t.Fatalf("expected 1 link, got %d", len(links)) t.Fatalf("expected 1 link, got %d", len(links))
} }
if links[0].Size != 23 { if links[0].Size != 15 {
t.Fatalf("expected size = 23, got %d", links[0].Size) t.Fatalf("expected size = 15, got %d", links[0].Size)
} }
if links[0].Name != "name-of-file" { if links[0].Name != "name-of-file" {
t.Fatalf("expected name = name-of-file, got %s", links[0].Name) t.Fatalf("expected name = name-of-file, got %s", links[0].Name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment