Add more tests for strings with unicode (escapes)

This commit is contained in:
Alex Beregszaszi
2020-07-13 20:43:30 +01:00
parent 289fc7a9d0
commit 950612cf42
11 changed files with 64 additions and 11 deletions
@@ -0,0 +1,7 @@
contract C {
function f() public pure returns (string memory) {
return "😃, 😭, and 😈";
}
}
// ----
// f() -> 0x20, 0x14, "\xf0\x9f\x98\x83, \xf0\x9f\x98\xad, and \xf0\x9f\x98\x88"