trufflesuite / trufflesuite.github.io

Staging Repo of Build Artifacts for Truffle Suite. Find the source at https://github.com/trufflesuite/trufflesuite.com
https://www.trufflesuite.com
34 stars 160 forks source link

Added pragma statement in the test code #126

Closed HomoEfficio closed 7 years ago

HomoEfficio commented 7 years ago

If the pragma statement is not added, the test code produces a warning like below:

/C/gitrepo/pet-shop-tutorial/test/TestAdoption.sol:1:1: : Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.11
import "truffle/Assert.sol";
^
OnlyOneJMJQ commented 7 years ago

@HomoEfficio Thank you!