mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 23:38:07 +08:00
remove target size requirement
It's complicated. We need to carefully think through how sizes work. This commit was moved from ipfs/interface-go-ipfs-core@7a7cf9694b This commit was moved from ipfs/boxo@f511773674
This commit is contained in:
parent
30b344a5af
commit
5cdd4b3d81
@ -786,9 +786,6 @@ func (tp *provider) TestLs(t *testing.T) {
|
||||
t.Errorf("expected symlink target to be /foo/bar, got %s", entry.Target)
|
||||
}
|
||||
|
||||
if int(entry.Size) != len(entry.Target) {
|
||||
t.Errorf("expected size = %d, got %d", len(entry.Target), entry.Size)
|
||||
}
|
||||
if l, ok := <-entries; ok {
|
||||
t.Errorf("didn't expect a second link")
|
||||
if l.Err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user