diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-15 20:23:02 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-15 23:25:26 +0800 |
commit | 2cca2d70d742713747e6c8777b5b4af27115ae97 (patch) | |
tree | 02bfef55845c486d1297ca6cd7431488e4dfa005 /packages/utils | |
parent | 17f313658d308f9a0f1ea502f83313b34c62e28d (diff) | |
download | dexon-0x-contracts-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.gz dexon-0x-contracts-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.zst dexon-0x-contracts-2cca2d70d742713747e6c8777b5b4af27115ae97.zip |
Add a throw reason in tests
Diffstat (limited to 'packages/utils')
-rw-r--r-- | packages/utils/test/abi_encoder/evm_data_types_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/test/abi_encoder/evm_data_types_test.ts b/packages/utils/test/abi_encoder/evm_data_types_test.ts index 54d536a7e..4814ce28b 100644 --- a/packages/utils/test/abi_encoder/evm_data_types_test.ts +++ b/packages/utils/test/abi_encoder/evm_data_types_test.ts @@ -205,7 +205,7 @@ describe('ABI Encoder: EVM Data Type Encoding/Decoding', () => { // Encode Args and validate result expect(() => { dataType.encode(args, encodingRules); - }).to.throw(); + }).to.throw('Tried to assign NaN value'); }); }); |