mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reformat test for extraction tool
This commit is contained in:
parent
0a1a8bfb09
commit
deeca7bc5d
@ -4807,7 +4807,9 @@ BOOST_AUTO_TEST_CASE(non_payable_constructor)
|
|||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(warn_nonpresent_pragma)
|
BOOST_AUTO_TEST_CASE(warn_nonpresent_pragma)
|
||||||
{
|
{
|
||||||
char const* text = "contract C {}";
|
char const* text = R"(
|
||||||
|
contract C {}
|
||||||
|
)";
|
||||||
auto sourceAndError = parseAnalyseAndReturnError(text, true, false);
|
auto sourceAndError = parseAnalyseAndReturnError(text, true, false);
|
||||||
BOOST_REQUIRE(!sourceAndError.second.empty());
|
BOOST_REQUIRE(!sourceAndError.second.empty());
|
||||||
BOOST_REQUIRE(!!sourceAndError.first);
|
BOOST_REQUIRE(!!sourceAndError.first);
|
||||||
|
Loading…
Reference in New Issue
Block a user