diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-06-20 09:51:02 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-06-21 04:54:39 +0800 |
commit | 322151b0d5d811bf1925f8479de3151316ce44dc (patch) | |
tree | 6f2b8825efa52d1107e02d181c4aa954fe04c868 /packages/contracts | |
parent | 4a136cafda2621b2d539b0d7b406db878586f2ff (diff) | |
download | dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar.gz dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar.bz2 dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar.lz dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar.xz dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar.zst dexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.zip |
Changed wording of two tests #nit
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/test/exchange/signature_validator.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts index 483099c10..0d7722697 100644 --- a/packages/contracts/test/exchange/signature_validator.ts +++ b/packages/contracts/test/exchange/signature_validator.ts @@ -92,7 +92,7 @@ describe('MixinSignatureValidator', () => { signedOrder = orderFactory.newSignedOrder(); }); - it('should revert with an empty signature', async () => { + it('should revert when signature is empty', async () => { const emptySignature = '0x'; const orderHashHex = orderHashUtils.getOrderHashHex(signedOrder); return expectRevertOrOtherErrorAsync( @@ -105,7 +105,7 @@ describe('MixinSignatureValidator', () => { ); }); - it('should revert with an unsupported signature type', async () => { + it('should revert when signature type is unsupported', async () => { const unsupportedSignatureType = SignatureType.NSignatureTypes; const unsupportedSignatureHex = `0x${unsupportedSignatureType}`; const orderHashHex = orderHashUtils.getOrderHashHex(signedOrder); |