mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
ast: string literals that are not valid UTF are not convertible to strings
This commit is contained in:
@@ -2045,7 +2045,7 @@ BOOST_AUTO_TEST_CASE(invalid_utf8)
|
||||
string s = "\xa0\x00";
|
||||
}
|
||||
)";
|
||||
CHECK_ERROR(sourceCode, TypeError, "Invalid UTF-8");
|
||||
CHECK_ERROR(sourceCode, TypeError, "invalid UTF-8");
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(string_index)
|
||||
|
||||
Reference in New Issue
Block a user