From ca981270a0f2af30bd113271a9a78d79940af0b9 Mon Sep 17 00:00:00 2001 From: Niels Date: Tue, 17 Feb 2015 00:36:29 +0100 Subject: [PATCH] added another test case --- test/unit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit.cpp b/test/unit.cpp index 5e2ff9038..7943f72cf 100644 --- a/test/unit.cpp +++ b/test/unit.cpp @@ -5653,6 +5653,7 @@ TEST_CASE("parser class") CHECK(json::parser("\"\\uFFFF\"").parse().get() == "￿"); CHECK(json::parser("\"\\u20AC\"").parse().get() == "€"); CHECK(json::parser("\"€\"").parse().get() == "€"); + CHECK(json::parser("\"🎈\"").parse().get() == "🎈"); CHECK(json::parse("\"\\ud80c\\udc60\"").get() == u8"\U00013060"); CHECK(json::parse("\"\\ud83c\\udf1e\"").get() == "🌞");