Fix an error in a type resolution SOL test

This will also fix the build.
This commit is contained in:
Lefteris Karapetsas 2015-08-10 23:49:46 +02:00
parent 0d66d8cf7c
commit 4907bda371

View File

@ -1906,7 +1906,7 @@ BOOST_AUTO_TEST_CASE(reference_compare_operators)
)";
BOOST_CHECK_THROW(parseTextAndResolveNames(sourceCode1), TypeError);
char const* sourceCode2 = R"(
contract test { struct s {uint a;}; s x; s y; function() { x == y; } }
contract test { struct s {uint a;} s x; s y; function() { x == y; } }
)";
BOOST_CHECK_THROW(parseTextAndResolveNames(sourceCode2), TypeError);
}