expected vs return in remix-tests CLI

pull/390/head
aniket-engg 5 years ago committed by Aniket
parent cc8ad2c30c
commit e94ad7d632
  1. 4
      libs/remix-tests/src/runTestFiles.ts

@ -145,9 +145,11 @@ export function runTestFiles(filepath: string, isDirectory: boolean, web3: Web3,
console.log('')
errors.forEach((error, index) => {
console.log(' ' + (index + 1) + ') ' + error.context + ' ' + error.value)
console.log(' ' + (index + 1) + ') ' + colors.bold(error.context + ': ') + error.value)
console.log('')
console.log(colors.red('\t error: ' + error.errMsg))
console.log(colors.green('\t expected value to be '+ error.assertMethod + ' to: ' + error.expected))
console.log(colors.red('\t returned: ' + error.returned))
})
console.log('')

Loading…
Cancel
Save