Commit 36151fe8 authored by smartcontracts's avatar smartcontracts Committed by GitHub

Merge pull request #2100 from RasenGUY/develop

test: improve test coverage for aliasing
parents dfd22e63 08840130
...@@ -18,7 +18,7 @@ describe('address aliasing utils', () => { ...@@ -18,7 +18,7 @@ describe('address aliasing utils', () => {
it('should throw if the input is not a valid address', () => { it('should throw if the input is not a valid address', () => {
expect(() => { expect(() => {
applyL1ToL2Alias('0x1234') applyL1ToL2Alias('0x1234')
}).to.throw }).to.throw('not a valid address: 0x1234')
}) })
}) })
...@@ -38,7 +38,7 @@ describe('address aliasing utils', () => { ...@@ -38,7 +38,7 @@ describe('address aliasing utils', () => {
it('should throw if the input is not a valid address', () => { it('should throw if the input is not a valid address', () => {
expect(() => { expect(() => {
undoL1ToL2Alias('0x1234') undoL1ToL2Alias('0x1234')
}).to.throw }).to.throw('not a valid address: 0x1234')
}) })
}) })
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment