fixed test case coverage

This commit is contained in:
Niels 2015-02-15 11:53:24 +01:00
parent bb558d8e6f
commit b21bf95620

View file

@ -5514,6 +5514,12 @@ TEST_CASE("lexer class")
} }
} }
} }
SECTION("to_unicode")
{
CHECK(json::lexer::to_unicode<char>(0x1F4A9) == "💩");
CHECK_THROWS_AS(json::lexer::to_unicode<char>(0x110000), std::out_of_range);
}
} }
TEST_CASE("parser class") TEST_CASE("parser class")