Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit fe5bb34

Browse files
committed
fixup! feat!: update ipfs for DAG GET API to match go-ipfs@0.10
1 parent c7798e3 commit fe5bb34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ipfs-cli/test/dag.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe('dag', () => {
126126

127127
const out = await cli(`dag get ${dagPbCid} --output-codec raw --data-enc base16`, { ipfs })
128128

129-
expect(out).to.equal(`dag get cannot print a non-bytes node as "raw"\n`)
129+
expect(out).to.equal('dag get cannot print a non-bytes node as "raw"\n')
130130
})
131131

132132
it('should get a bytes node of a non-bytes block with "raw"', async () => {
@@ -178,7 +178,7 @@ describe('dag', () => {
178178

179179
ipfs.dag.get.withArgs(dagCborCid, defaultOptions).returns(result)
180180

181-
const out = await cli(`dag get ${dagCborCid} --output-codec dag-cbor`, { ipfs, raw: true })
181+
const out = await cli(`dag get ${dagCborCid} --output-codec dag-cbor`, { ipfs, raw: true })
182182

183183
expect(out).to.deep.equal(Buffer.from('a163666f6f63626172', 'hex'))
184184
})

0 commit comments

Comments
 (0)