aboutsummaryrefslogtreecommitdiffstats
path: root/test/assert_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:50:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:50:18 +0800
commitabd6fbfa648a540342d9c183fc8f5b36248b6055 (patch)
tree2333fe071786082e69cf3b1a0f12918faaa08ff8 /test/assert_test.ts
parent33cf004b2927f1ddb68e370f211264a132e64544 (diff)
downloaddexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.tar
dexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.tar.gz
dexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.tar.bz2
dexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.tar.lz
dexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.tar.xz
dexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.tar.zst
dexon-sol-tools-abd6fbfa648a540342d9c183fc8f5b36248b6055.zip
Use variable name in assertin message
Diffstat (limited to 'test/assert_test.ts')
-rw-r--r--test/assert_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/assert_test.ts b/test/assert_test.ts
index c8f698730..147c9832f 100644
--- a/test/assert_test.ts
+++ b/test/assert_test.ts
@@ -20,7 +20,7 @@ describe('Assertion library', () => {
const validUnrelatedAddress = '0x8b0292b11a196601eddce54b665cafeca0347d42';
const varName = 'account';
return expect(assert.isSenderAddressHexAsync(varName, validUnrelatedAddress, (zeroEx as any).web3Wrapper))
- .to.be.rejectedWith(`Specified sender account ${validUnrelatedAddress} \
+ .to.be.rejectedWith(`Specified ${varName} ${validUnrelatedAddress} \
isn't available through the supplied web3 instance`);
});
it('doesn\'t throw if account is available', async () => {