common/compiler: fixed testSource (#18978)

This commit is contained in:
Javier Sagredo 2019-02-03 12:41:38 +01:00 committed by Felix Lange
parent 05d21438de
commit 98e0bedcd7
1 changed files with 2 additions and 1 deletions

View File

@ -23,9 +23,10 @@ import (
const ( const (
testSource = ` testSource = `
pragma solidity >0.0.0;
contract test { contract test {
/// @notice Will multiply ` + "`a`" + ` by 7. /// @notice Will multiply ` + "`a`" + ` by 7.
function multiply(uint a) returns(uint d) { function multiply(uint a) public returns(uint d) {
return a * 7; return a * 7;
} }
} }