Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 3eb398e

Browse files
author
Alan Shaw
committed
fix: data property name
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent a12c343 commit 3eb398e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dag/get.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ module.exports = (createCommon, options) => {
242242

243243
ipfs.dag.get(cidv1, (err, output) => {
244244
expect(err).to.not.exist()
245-
expect(output.value.data).to.eql(input)
245+
expect(output.value.Data).to.eql(input)
246246
done()
247247
})
248248
})
@@ -261,7 +261,7 @@ module.exports = (createCommon, options) => {
261261

262262
ipfs.dag.get(cidv0, (err, output) => {
263263
expect(err).to.not.exist()
264-
expect(Unixfs.unmarshal(output.value.data).data).to.eql(input)
264+
expect(Unixfs.unmarshal(output.value.Data).data).to.eql(input)
265265
done()
266266
})
267267
})

0 commit comments

Comments
 (0)