Commit b21bf956 authored by Niels's avatar Niels

fixed test case coverage

parent bb558d8e
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment