diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-06 21:48:29 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-06 21:48:29 +0800 |
commit | 321e0765cb3cee989f5869992209cbd9d69c1c3d (patch) | |
tree | b3d02d7cced11adf07c843595ef283173f9df46e /test/assert_test.ts | |
parent | 403ec236fffb0ed565e7c933d3608b554c007613 (diff) | |
download | dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.tar dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.tar.gz dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.tar.bz2 dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.tar.lz dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.tar.xz dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.tar.zst dexon-sol-tools-321e0765cb3cee989f5869992209cbd9d69c1c3d.zip |
avoid newline issues by putting the assertion message on a single line
Diffstat (limited to 'test/assert_test.ts')
-rw-r--r-- | test/assert_test.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/assert_test.ts b/test/assert_test.ts index 560ef06d4..6b623eaad 100644 --- a/test/assert_test.ts +++ b/test/assert_test.ts @@ -20,8 +20,9 @@ describe('Assertion library', () => { const validUnrelatedAddress = '0x8b0292b11a196601eddce54b665cafeca0347d42'; const varName = 'address'; return expect(assert.isSenderAddressAsync(varName, validUnrelatedAddress, (zeroEx as any).web3Wrapper)) - .to.be.rejectedWith(`Specified ${varName} ${validUnrelatedAddress} \ - isn't available through the supplied web3 instance`); + .to.be.rejectedWith( + `Specified ${varName} ${validUnrelatedAddress} isn't available through the supplied web3 instance`, + ); }); it('doesn\'t throw if address is available', async () => { const availableAddress = (await zeroEx.getAvailableAddressesAsync())[0]; |