Web3 DAO | Ethereum Foundation Logo

Add proper unit tests to translate.js

Organization

Ethereum Foundation

Deadline

N/A

Status

LIVE


INSTRUCTIONS

This should be in the form of providing fixtures, the JSON outputs from previous compiler versions, and comparing that against and expected translation.

At least the versions listed in https://github.com/ethereum/solc-js/blob/master/test/compiler.js#L643-L650 should be included.