From 37a5df3249aa64be5000d5bca841fcac8fb37f74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 29 Aug 2013 16:01:58 +0200 Subject: [PATCH] test: Add test for case insesitive MIME normalization --- test/offline/normalize_mime_type.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/offline/normalize_mime_type.c b/test/offline/normalize_mime_type.c index c9090f7..262cc54 100644 --- a/test/offline/normalize_mime_type.c +++ b/test/offline/normalize_mime_type.c @@ -32,6 +32,8 @@ int main(int argc, char **argv) { TEST("NULL is idempotent", test_normalize, NULL, NULL); TEST("X-Invalid is idempotent", test_normalize, "X-Invalid", "X-Invalid"); + TEST("Normalization is not case-sensitive", + test_normalize, "PdF", "application/pdf"); TEST("cer", test_normalize, "cer", "application/x-x509-ca-cert"); TEST("crt", test_normalize, "crt", "application/x-x509-ca-cert"); -- 2.11.4.GIT