aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-06-20 09:51:02 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-06-21 04:54:39 +0800
commit322151b0d5d811bf1925f8479de3151316ce44dc (patch)
tree6f2b8825efa52d1107e02d181c4aa954fe04c868 /packages/contracts
parent4a136cafda2621b2d539b0d7b406db878586f2ff (diff)
downloaddexon-sol-tools-322151b0d5d811bf1925f8479de3151316ce44dc.tar.gz
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.ts4
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);