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 /contracts/test-utils/src/assertions.ts | |
parent | aa4fcebdc71fa58b12dc12ab03d7697444416c09 (diff) | |
download | dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.gz dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.bz2 dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.lz dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.xz dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.zst dexon-sol-tools-f14603ca4d91ca72d9e81de53168230d85bc50aa.zip |
Implement prefer-template tslint rule
Diffstat (limited to 'contracts/test-utils/src/assertions.ts')
-rw-r--r-- | contracts/test-utils/src/assertions.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contracts/test-utils/src/assertions.ts b/contracts/test-utils/src/assertions.ts index 5b1cedfcc..b1dec1281 100644 --- a/contracts/test-utils/src/assertions.ts +++ b/contracts/test-utils/src/assertions.ts @@ -137,7 +137,7 @@ export async function expectTransactionFailedWithoutReasonAsync(p: sendTransacti // directly. txReceiptStatus = result.status; } else { - throw new Error('Unexpected result type: ' + typeof result); + throw new Error(`Unexpected result type: ${typeof result}`); } expect(_.toString(txReceiptStatus)).to.equal( '0', |