solhint
Version:
Solidity Code Linter
11 lines (9 loc) • 354 B
JavaScript
const { funcWith, contractWith } = require('../../common/contract-builder')
module.exports = [
funcWith('var (a,b) = test1.test2(); a + b;'),
funcWith('test(1,2, b);'),
funcWith('test(1,/* test */ 2, b);'),
contractWith('function b(uint a,uintc) public {}'),
funcWith('test(1, 2 , b);'),
funcWith('var (a, ,, b) = test1.test2(); a + b;'),
]