pull/5370/head
yann300 4 years ago
parent da89ef5d39
commit 173910fc32
  1. 2
      libs/remix-tests/src/testRunner.ts

@ -294,7 +294,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
const testEvent = web3.eth.abi.decodeParameters(assertionEvents[eIndex].params, event.raw.data)
if (!testEvent[0]) {
const assertMethod = testEvent[2]
if(assertMethod === 'ok') { // for 'Assert.ok' method
if (assertMethod === 'ok') { // for 'Assert.ok' method
testEvent[3] = 'false'
testEvent[4] = 'true'
}

Loading…
Cancel
Save