laconicd-deprecated/tests-solidity/suites/staking/contracts/test/TestImports.sol
Brett Sun c9639c3860
tests: add solidity test suites (#487)
* tests: add solidity test suite

* tests: remove require strings

* Update tests-solidity/init-test-node.sh

* Update tests-solidity/init-test-node.sh

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-09-01 17:16:28 -04:00

24 lines
632 B
Solidity

pragma solidity 0.5.17;
import "./lib/MiniMeToken.sol";
import "../lib/os/Migrations.sol";
// You might think this file is a bit odd, but let me explain.
// We only use some contracts in our tests, which means Truffle
// will not compile it for us, because it is from an external
// dependency.
//
// We are now left with three options:
// - Copy/paste these contracts
// - Run the tests with `truffle compile --all` on
// - Or trick Truffle by claiming we use it in a Solidity test
//
// You know which one I went for.
contract TestImports {
constructor() public {
// solium-disable-previous-line no-empty-blocks
}
}