aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-15 20:23:02 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-15 23:25:26 +0800
commit2cca2d70d742713747e6c8777b5b4af27115ae97 (patch)
tree02bfef55845c486d1297ca6cd7431488e4dfa005 /packages
parent17f313658d308f9a0f1ea502f83313b34c62e28d (diff)
downloaddexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.tar
dexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.gz
dexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.bz2
dexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.lz
dexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.xz
dexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.tar.zst
dexon-sol-tools-2cca2d70d742713747e6c8777b5b4af27115ae97.zip
Add a throw reason in tests
Diffstat (limited to 'packages')
-rw-r--r--packages/utils/test/abi_encoder/evm_data_types_test.ts2
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');
});
});