E586 fix: account error msg diff betwenn browsers · ipld/js-ipld-block@85bef56 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit 85bef56

Browse files
committed
fix: account error msg diff betwenn browsers
1 parent e31d46b commit 85bef56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ describe('block', () => {
3434
expect(
3535
() => { b.data = 'fail' }
3636
).to.throw(
37-
/read only/
37+
/read.only/
3838
)
3939

4040
expect(
4141
() => { b.cid = 'fail' }
4242
).to.throw(
43-
/read only/
43+
/read.only/
4444
)
4545
})
4646
})

0 commit comments

Comments
 (0)
0