aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/test-utils
diff options
context:
space:
mode:
authorkao <zichongkao@gmail.com>2018-12-08 08:35:00 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:31 +0800
commit93422eab55f674ed33168a4731884e54d5a9ca78 (patch)
treea3829d1abdfd07171319db5454d9a4336fc62888 /contracts/test-utils
parent74e07b63de9688aa0dca2ce69863203766db6008 (diff)
downloaddexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.gz
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.bz2
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.lz
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.xz
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.tar.zst
dexon-sol-tools-93422eab55f674ed33168a4731884e54d5a9ca78.zip
Implement prefer-template tslint rule
Diffstat (limited to 'contracts/test-utils')
-rw-r--r--contracts/test-utils/src/assertions.ts2
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',