diff options
author | kao <zichongkao@gmail.com> | 2018-12-08 08:35:00 +0800 |
---|---|---|
committer | kao <zichongkao@gmail.com> | 2018-12-08 09:06:52 +0800 |
commit | f14603ca4d91ca72d9e81de53168230d85bc50aa (patch) | |
tree | 69eecd797c8c28f1b51513ffe01e7ab5e2104df1 /packages/utils/test | |
parent | aa4fcebdc71fa58b12dc12ab03d7697444416c09 (diff) | |
download | dexon-0x-contracts-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.gz dexon-0x-contracts-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.zst dexon-0x-contracts-f14603ca4d91ca72d9e81de53168230d85bc50aa.zip |
Implement prefer-template tslint rule
Diffstat (limited to 'packages/utils/test')
-rw-r--r-- | packages/utils/test/abi_encoder/evm_data_types_test.ts | 4 |
1 files changed, 2 insertions, 2 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 9ef80a560..7185851a8 100644 --- a/packages/utils/test/abi_encoder/evm_data_types_test.ts +++ b/packages/utils/test/abi_encoder/evm_data_types_test.ts @@ -901,7 +901,7 @@ describe('ABI Encoder: EVM Data Type Encoding/Decoding', () => { // Construct args to be encoded // Note: There will be padding because this is a bytes32 but we are only passing in 4 bytes. const bytesLength = 40; - const args = '0x' + '61'.repeat(bytesLength); + const args = `0x${'61'.repeat(bytesLength)}`; // Encode Args and validate result const encodedArgs = dataType.encode(args, encodingRules); const expectedEncodedArgs = @@ -993,7 +993,7 @@ describe('ABI Encoder: EVM Data Type Encoding/Decoding', () => { // Construct args to be encoded // Note: There will be padding because this is a bytes32 but we are only passing in 4 bytes. const strLength = 40; - const args = '0x' + 'a'.repeat(strLength); + const args = `0x${'a'.repeat(strLength)}`; // Encode Args and validate result const encodedArgs = dataType.encode(args, encodingRules); const expectedEncodedArgs = |