diff options
author | Jose <jose@zeroc.com> | 2021-01-07 17:11:29 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2021-01-07 17:08:22 +0100 |
commit | ccd1054015d19d2802c3cccb8da3c11540090d8a (patch) | |
tree | 5202c2bcd626d0aa23a0a7d7460340c79f79cfe4 /cpp | |
parent | Add libedit-dev (diff) | |
download | ice-ccd1054015d19d2802c3cccb8da3c11540090d8a.tar.bz2 ice-ccd1054015d19d2802c3cccb8da3c11540090d8a.tar.xz ice-ccd1054015d19d2802c3cccb8da3c11540090d8a.zip |
Fix u8 string in Ice/proxy test
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/proxy/AllTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/proxy/AllTests.cpp b/cpp/test/Ice/proxy/AllTests.cpp index 293f09a9b6b..1896c06357a 100644 --- a/cpp/test/Ice/proxy/AllTests.cpp +++ b/cpp/test/Ice/proxy/AllTests.cpp @@ -367,11 +367,11 @@ allTests(Test::TestHelper* helper) // More unicode characters #ifdef ICE_CPP11_MAPPING - id.name = u8"banana \016-\U0001F34C\U000020AC\u00a2\u0024"; - id.category = u8"greek \U0001016A"; + id.name = "banana \016-\U0001F34C\U000020AC\u00a2\u0024"; + id.category = "greek \U0001016A"; idStr = identityToString(id, Ice::ICE_ENUM(ToStringMode, Unicode)); - test(idStr == u8"greek \U0001016A/banana \\u000e-\U0001F34C\U000020AC\u00a2$"); + test(idStr == "greek \U0001016A/banana \\u000e-\U0001F34C\U000020AC\u00a2$"); id2 = Ice::stringToIdentity(idStr); test(id == id2); |