files2.0: Rebase gx fixes

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
Łukasz Magiera 2018-10-26 17:04:13 +02:00
parent a96b370ee2
commit b8a773da0a

View File

@ -298,7 +298,7 @@ func TestAdd(t *testing.T) {
data: func() files.File {
return files.NewReaderFile(ioutil.NopCloser(strings.NewReader(helloStr)), nil)
},
wrap: "foo",
wrap: "foo",
expect: wrapped("foo"),
opts: []options.UnixfsAddOption{options.Unixfs.Wrap(true)},
},