Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit d82441c

Browse files
Gozalavmx
authored andcommitted
fix: immutable CID test
1 parent afd52fe commit d82441c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dag-link-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = (repo) => {
6363

6464
it('has an immutable CID', () => {
6565
const link = new DAGLink('hello', 3, 'QmXg9Pp2ytZ14xgmQjYEiHjVjMFXzCVVEcRTWJBmLgR39U')
66-
expect(() => { link.Hash = 'foo' }).to.throw(/property/)
66+
expect(() => { link.Hash = 'foo' }).to.throw(/read.only/)
6767
})
6868
})
6969
}

0 commit comments

Comments
 (0)