mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Not showing gas used if it is equal to m_gas(in case of out of gas failures).
This commit is contained in:
parent
b3202f6b39
commit
63017bd510
@ -349,7 +349,7 @@ bool SemanticTest::checkGasCostExpectation(TestFunctionCall& io_test, bool _comp
|
|||||||
if (
|
if (
|
||||||
!m_enforceGasCost ||
|
!m_enforceGasCost ||
|
||||||
(
|
(
|
||||||
(setting == "ir" || m_gasUsed < m_enforceGasCostMinValue) &&
|
(setting == "ir" || m_gasUsed < m_enforceGasCostMinValue || m_gasUsed >= m_gas) &&
|
||||||
io_test.call().expectations.gasUsed.count(setting) == 0
|
io_test.call().expectations.gasUsed.count(setting) == 0
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user