aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-11-25 20:36:06 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-11-25 20:36:06 +0800
commite136ec87041cce9d8d472e45f4dfbed9a8d02469 (patch)
treebcb1e74e7fd6a4705e7e28c612d3be0d43094fd6 /test
parentaaf58a8c4e802b1c3c4098066e0788e55600660a (diff)
downloaddexon-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.cpp2
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)