From 807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 8 Jun 2017 14:31:05 +0200 Subject: Fix linter error --- test/0x.js_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index 78032006b..d41cbefd7 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -64,20 +64,20 @@ describe('ZeroEx library', () => { const validUnrelatedAddress = '0x8b0292B11a196601eD2ce54B665CaFEca0347D42'; expect(ZeroEx.isValidSignature(data, signature, validUnrelatedAddress)).to.be.false(); return expect( - (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, validUnrelatedAddress) + (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, validUnrelatedAddress), ).to.become(false); }); it('should return false if the signature doesn\'t pertain to the data & address', async () => { const wrongSignature = _.assign({}, signature, {v: 28}); expect(ZeroEx.isValidSignature(data, wrongSignature, address)).to.be.false(); return expect( - (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, wrongSignature, address) + (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, wrongSignature, address), ).to.become(false); }); it('should return true if the signature does pertain to the data & address', async () => { expect(ZeroEx.isValidSignature(data, signature, address)).to.be.true(); return expect( - (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, address) + (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, address), ).to.become(true); }); }); -- cgit