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

Commit 7c0401f

Browse files
committed
update test case
1 parent 8833bb4 commit 7c0401f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cli/files.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,11 @@ describe('files', () => runOnAndOff((thing) => {
441441
})
442442

443443
it('cat non-existent file (nested)', () => {
444-
return ipfs('cat QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB/wrong-dir/wrong-file')
444+
return ipfs('cat Qmaj2NmcyAXT8dFmZRRytE12wpcaHADzbChKToMEjBsj5Z/init-docs/wrong-dir/dummy')
445445
.then(() => expect.fail(0, 1, 'Should have thrown an error'))
446446
.catch((err) => {
447447
expect(err).to.exist()
448-
expect(err.stdout).to.contain('no file named "wrong-dir/wrong-file" under QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB')
448+
expect(err.stdout).to.contain('no file named "wrong-dir/dummy" under Qmaj2NmcyAXT8dFmZRRytE12wpcaHADzbChKToMEjBsj5Z/init-docs')
449449
})
450450
})
451451

0 commit comments

Comments
 (0)