Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
interface-go-dms3-core
Commits
7a7cf969
Commit
7a7cf969
authored
Mar 06, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove target size requirement
It's complicated. We need to carefully think through how sizes work.
parent
368881fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
tests/unixfs.go
tests/unixfs.go
+0
-3
No files found.
tests/unixfs.go
View file @
7a7cf969
...
@@ -786,9 +786,6 @@ func (tp *provider) TestLs(t *testing.T) {
...
@@ -786,9 +786,6 @@ func (tp *provider) TestLs(t *testing.T) {
t
.
Errorf
(
"expected symlink target to be /foo/bar, got %s"
,
entry
.
Target
)
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
{
if
l
,
ok
:=
<-
entries
;
ok
{
t
.
Errorf
(
"didn't expect a second link"
)
t
.
Errorf
(
"didn't expect a second link"
)
if
l
.
Err
!=
nil
{
if
l
.
Err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment