Commit 4fde8563 authored by Laurent Montel's avatar Laurent Montel 😁

Add no broken example

parent 1ec03fa0
......@@ -802,6 +802,20 @@ void ContentTest::testContentTypeMimetype_data()
"Committed on 30/05/2017 at 19:25.\n";
QTest::newRow("broken") << data << QByteArrayLiteral("text/plain");
data =
"From: Montel Laurent <>\n"
"Content-Type: application/pdf;\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: quoted-printable\n"
"Subject: [libksieve] src/ksieveui: coding style\n"
"Date: Tue, 30 May 2017 19:25:59 +0000\n"
"Git commit 5410a2b3b6eef29ba32d0ac5e363fd38a56f535b by Montel Laurent.\n"
"Committed on 30/05/2017 at 19:25.\n";
QTest::newRow("not broken") << data << QByteArrayLiteral("application/pdf");
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