Merge pull request #5034 from liangdzou/fix_test_format_issue

fix format issue for test files to enable the format checker in PR #5027
This commit is contained in:
chriseth 2018-09-25 10:14:44 +02:00 committed by GitHub
commit 1b8334e58b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,7 +356,8 @@ BOOST_AUTO_TEST_CASE(valid_opcodes_functional)
"{ (SELFDESTRUCT 0) }" "{ (SELFDESTRUCT 0) }"
}; };
for (size_t i = 0; i < opcodes_bytecode.size(); i++) { for (size_t i = 0; i < opcodes_bytecode.size(); i++)
{
vector<string> errors; vector<string> errors;
bytes code = lll::compileLLL(opcodes_lll[i], dev::test::Options::get().evmVersion(), false, &errors); bytes code = lll::compileLLL(opcodes_lll[i], dev::test::Options::get().evmVersion(), false, &errors);
@ -644,7 +645,8 @@ BOOST_AUTO_TEST_CASE(valid_opcodes_asm)
"{ (asm SELFDESTRUCT) }" "{ (asm SELFDESTRUCT) }"
}; };
for (size_t i = 0; i < opcodes_bytecode.size(); i++) { for (size_t i = 0; i < opcodes_bytecode.size(); i++)
{
vector<string> errors; vector<string> errors;
bytes code = lll::compileLLL(opcodes_lll[i], dev::test::Options::get().evmVersion(), false, &errors); bytes code = lll::compileLLL(opcodes_lll[i], dev::test::Options::get().evmVersion(), false, &errors);