@cryptotaxi247 / kubo / commits / 2e8bb8c0e

coreapi add wrap: fix gotests

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Mar 4, 2019 at 14:50 UTC 2e8bb8c0e6e1e77b0a6fd2628f31fc3426036b29
1 file changed +2 -2
core/corehttp/gateway_test.go
+2 -2
@@ -253,7 +253,7 @@ func TestIPNSHostnameRedirect(t *testing.T) {
253 }),
254 })
255
256 - k, err := api.Unixfs().Add(ctx, f1, options.Unixfs.Wrap(true))
256 + k, err := api.Unixfs().Add(ctx, f1)
257 if err != nil {
258 t.Fatal(err)
259 }
@@ -346,7 +346,7 @@ func TestIPNSHostnameBacklinks(t *testing.T) {
346 })
347
348 // create /ipns/example.net/foo/
349 - k, err := api.Unixfs().Add(ctx, f1, options.Unixfs.Wrap(true))
349 + k, err := api.Unixfs().Add(ctx, f1)
350 if err != nil {
351 t.Fatal(err)
352 }