diff --git a/packages/utils/test/abi_encoder/methods_test.ts b/packages/utils/test/abi_encoder/methods_test.ts index 5506e361fc..4f9b2d94d1 100644 --- a/packages/utils/test/abi_encoder/methods_test.ts +++ b/packages/utils/test/abi_encoder/methods_test.ts @@ -286,12 +286,16 @@ describe('ABI Encoder: Method Encoding / Decoding', () => { const method = AbiEncoder.createMethod('foobar'); const methodSelector = method.getSelector(); const badMethodSelector = '0x01020304'; - expect(() => method.decode(badMethodSelector)).to.throw(`Tried to decode calldata, but it was missing the function selector. Expected prefix '${methodSelector}'. Got '${badMethodSelector}'.`); + expect(() => method.decode(badMethodSelector)).to.throw( + `Tried to decode calldata, but it was missing the function selector. Expected prefix '${methodSelector}'. Got '${badMethodSelector}'.`, + ); }); it('Should throw if strict decoding calldata where selector does not match the method', async () => { const method = AbiEncoder.createMethod('foobar'); const methodSelector = method.getSelector(); const badMethodSelector = '0x01020304'; - expect(() => method.strictDecode(badMethodSelector)).to.throw(`Tried to decode calldata, but it was missing the function selector. Expected prefix '${methodSelector}'. Got '${badMethodSelector}'.`); + expect(() => method.strictDecode(badMethodSelector)).to.throw( + `Tried to decode calldata, but it was missing the function selector. Expected prefix '${methodSelector}'. Got '${badMethodSelector}'.`, + ); }); });