From 155f7f06394b5c9dd310b420c864c91ac92f5097 Mon Sep 17 00:00:00 2001 From: Taro Kobayashi <9re.3000@gmail.com> Date: Thu, 7 Feb 2013 17:23:57 +0900 Subject: [PATCH] added test that will fails on android --- tests.c | 1 + tests/test_2.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/tests.c b/tests.c index 10ec111..2046ec2 100644 --- a/tests.c +++ b/tests.c @@ -77,6 +77,7 @@ void test_suite_2(void) { object = json_value_get_object(root_value); TEST(STREQ(json_object_get_string(object, "string"), "lorem ipsum")); TEST(STREQ(json_object_get_string(object, "utf string"), "lorem ipsum")); + TEST(STREQ(json_object_get_string(object, "utf-8 string"), "あいうえお")); TEST(json_object_get_number(object, "positive one") == 1.0); TEST(json_object_get_number(object, "negative one") == -1.0); TEST(json_object_get_number(object, "hard to parse number") == -0.000314); diff --git a/tests/test_2.txt b/tests/test_2.txt index 501fead..279d477 100644 --- a/tests/test_2.txt +++ b/tests/test_2.txt @@ -1,6 +1,7 @@ { "string" : "lorem ipsum", "utf string" : "\u006corem\u0020ipsum", + "utf-8 string": "あいうえお", "positive one" : 1, "negative one" : -1, "pi" : 3.14,