Forgot to test the emoji case

This commit is contained in:
Eric Fischer 2016-10-05 15:01:47 -07:00
parent 9806db3c0a
commit d4d966893c

View File

@ -7,5 +7,6 @@ TEST_CASE("UTF-8 enforcement", "[utf8]") {
REQUIRE(check_utf8("hello world") == std::string(""));
REQUIRE(check_utf8("Καλημέρα κόσμε") == std::string(""));
REQUIRE(check_utf8("こんにちは 世界") == std::string(""));
REQUIRE(check_utf8("👋🌏") == std::string(""));
REQUIRE(check_utf8("Hola m\xF3n") == std::string("\"Hola m\xF3n\" is not valid UTF-8 (0xF3 0x6E)"));
}