From: Baptiste Daroussin Date: Wed, 8 Jan 2025 13:12:22 +0000 (+0100) Subject: rfc2047: add tests for us-ascii X-Git-Tag: RELEASE_1_5_0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce7e7601d5574535f024694c666d2daa1d734121;p=thirdparty%2Fmlmmj.git rfc2047: add tests for us-ascii --- diff --git a/tests/mlmmj.c b/tests/mlmmj.c index ac8a15b3..7bc00527 100644 --- a/tests/mlmmj.c +++ b/tests/mlmmj.c @@ -3000,6 +3000,9 @@ ATF_TC_BODY(unistr_header_to_utf8, tc) ATF_REQUIRE(out != NULL); ATF_REQUIRE_STREQ(out, "Привет мир"); + out = unistr_header_to_utf8("=?us-ascii?Q?useless_but_why_not?="); + ATF_REQUIRE(out != NULL); + ATF_REQUIRE_STREQ(out, "useless but why not"); } ATF_TP_ADD_TCS(tp)