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

Commit e282f26

Browse files
author
Alan Shaw
committed
fix: data -> Data
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent c90f722 commit e282f26

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
@@ -222,7 +222,7 @@ module.exports = (createCommon, options) => {
222222

223223
ipfs.dag.get(cidv1, (err, output) => {
224224
expect(err).to.not.exist()
225-
expect(output.value.data).to.eql(input)
225+
expect(output.value.Data).to.eql(input)
226226
done()
227227
})
228228
})
@@ -241,7 +241,7 @@ module.exports = (createCommon, options) => {
241241

242242
ipfs.dag.get(cidv0, (err, output) => {
243243
expect(err).to.not.exist()
244-
expect(Unixfs.unmarshal(output.value.data).data).to.eql(input)
244+
expect(Unixfs.unmarshal(output.value.Data).data).to.eql(input)
245245
done()
246246
})
247247
})

0 commit comments

Comments
 (0)