diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-04 22:35:49 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-04 22:35:49 +0800 |
commit | 8adc6f0faadb46f88c1f9738b04039d037cfbcb9 (patch) | |
tree | 6ea9d1f9c9506bee42dbbe0543a8c407c6c5d05e /packages/contracts/test/tokens/ether_token.ts | |
parent | 4e783fba57bbd3d389ab52679ca8763bfa03cbf3 (diff) | |
parent | ade620f4f7d9ac1e5726681aefcbddf742915a84 (diff) | |
download | dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.tar dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.tar.gz dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.tar.bz2 dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.tar.lz dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.tar.xz dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.tar.zst dexon-sol-tools-8adc6f0faadb46f88c1f9738b04039d037cfbcb9.zip |
merge v2-prototype
Diffstat (limited to 'packages/contracts/test/tokens/ether_token.ts')
-rw-r--r-- | packages/contracts/test/tokens/ether_token.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/tokens/ether_token.ts b/packages/contracts/test/tokens/ether_token.ts index 25ef15595..a104fc915 100644 --- a/packages/contracts/test/tokens/ether_token.ts +++ b/packages/contracts/test/tokens/ether_token.ts @@ -5,7 +5,7 @@ import * as chai from 'chai'; import { WETH9Contract } from '../../generated_contract_wrappers/weth9'; import { artifacts } from '../utils/artifacts'; -import { expectInsufficientFundsAsync, expectRevertOrAlwaysFailingTransactionAsync } from '../utils/assertions'; +import { expectInsufficientFundsAsync, expectTransactionFailedWithoutReasonAsync } from '../utils/assertions'; import { chaiSetup } from '../utils/chai_setup'; import { constants } from '../utils/constants'; import { provider, txDefaults, web3Wrapper } from '../utils/web3_wrapper'; @@ -74,7 +74,7 @@ describe('EtherToken', () => { const initEthTokenBalance = await etherToken.balanceOf.callAsync(account); const ethTokensToWithdraw = initEthTokenBalance.plus(1); - return expectRevertOrAlwaysFailingTransactionAsync( + return expectTransactionFailedWithoutReasonAsync( etherToken.withdraw.sendTransactionAsync(ethTokensToWithdraw), ); }); |