diff options
author | Yury Melnichek <melnichek@gmail.com> | 2013-03-23 19:17:12 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:52:08 +0300 |
commit | ef08ddd1f355232e183b3d6cf42246e2cb3dfad2 (patch) | |
tree | 5a40bd9d6646b931a2b7271c3fa4261cfc3c1742 /api/tests | |
parent | dcb8c5b4e5bbb2eb78859396cc52304e78959bf4 (diff) |
[api] Code review fixes.
Diffstat (limited to 'api/tests')
-rw-r--r-- | api/tests/c/api-client-test.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/api/tests/c/api-client-test.c b/api/tests/c/api-client-test.c index 81ddfe8501..c2fed0af55 100644 --- a/api/tests/c/api-client-test.c +++ b/api/tests/c/api-client-test.c @@ -432,5 +432,14 @@ FCT_BGN() } FCT_QTEST_END(); + FCT_QTEST_BGN(MapsWithMe_GenShortShowMapUrl_UnicodeMixedWithOtherChars) + { + char buf[100] = {0}; + int res = MapsWithMe_GenShortShowMapUrl(0, 0, 19, "Back_in \xe2\x98\x84!\xd1\x8e\xd0\xbc", buf, 100); + fct_chk_eq_str("ge0://8wAAAAAAAA/Back%20in_\xe2\x98\x84%21\xd1\x8e\xd0\xbc", buf); + fct_chk_eq_int(37, res); + } + FCT_QTEST_END(); + } FCT_END(); |