mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update existing tests.
This commit is contained in:
@@ -120,8 +120,9 @@ BOOST_AUTO_TEST_CASE(reserved_keywords)
|
||||
{
|
||||
BOOST_CHECK(!TokenTraits::isReservedKeyword(Token::Identifier));
|
||||
BOOST_CHECK(TokenTraits::isReservedKeyword(Token::After));
|
||||
BOOST_CHECK(TokenTraits::isReservedKeyword(Token::Unchecked));
|
||||
BOOST_CHECK(!TokenTraits::isReservedKeyword(Token::Unchecked));
|
||||
BOOST_CHECK(TokenTraits::isReservedKeyword(Token::Var));
|
||||
BOOST_CHECK(TokenTraits::isReservedKeyword(Token::Reference));
|
||||
BOOST_CHECK(!TokenTraits::isReservedKeyword(Token::Illegal));
|
||||
}
|
||||
|
||||
@@ -515,7 +516,6 @@ BOOST_AUTO_TEST_CASE(keyword_is_reserved)
|
||||
"switch",
|
||||
"typedef",
|
||||
"typeof",
|
||||
"unchecked",
|
||||
"var"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user