diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-11-25 20:36:06 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-11-25 20:36:06 +0800 |
commit | e136ec87041cce9d8d472e45f4dfbed9a8d02469 (patch) | |
tree | bcb1e74e7fd6a4705e7e28c612d3be0d43094fd6 /test | |
parent | aaf58a8c4e802b1c3c4098066e0788e55600660a (diff) | |
download | dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.gz dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.bz2 dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.lz dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.xz dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.zst dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.zip |
ast: string literals that are not valid UTF are not convertible to strings
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 6181a8a9..cc4da61b 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -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) |