diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-03-20 23:39:15 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-03-20 23:39:15 +0000 |
commit | 7706ba5bebfaef5f83f23998199fe6a650b84301 (patch) | |
tree | 0688831d3c16bfa411dc623eb821ab401e1118ec | |
parent | 399d19ce25fde72be62b843744cdc6ad2f70821c (diff) | |
download | netsurf-7706ba5bebfaef5f83f23998199fe6a650b84301.tar.gz netsurf-7706ba5bebfaef5f83f23998199fe6a650b84301.tar.bz2 |
fix mime sniff test with comment tag
-rw-r--r-- | test/mimesniff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mimesniff.c b/test/mimesniff.c index 6a95823e3..eeb52e29e 100644 --- a/test/mimesniff.c +++ b/test/mimesniff.c @@ -772,7 +772,7 @@ END_TEST #define SIG(s,m,a) { (const uint8_t *)s, SLEN(s), &corestring_lwc_##m, a } static struct test_mimetype text_html_header_tests[] = { SIG("text", text_html, true), - SIG("\xef\xbb\xbf\t\n\r <!-- a comment><!DOCTYPE HTML><?pi?><head>", text_html, true), + SIG("\xef\xbb\xbf\t\n\r <!-- a comment --><!DOCTYPE HTML><?pi?><head>", text_html, true), SIG("\xef\xbb\xbf\t\n\r <!DOCTYPE HTML><?pi?><rss version=\"2.0\">", application_rss_xml, true), SIG("\t\n\r <? pi ?><feed>", application_atom_xml, true), SIG("<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns=\"http://purl.org/rss/1.0\">", application_rss_xml, true), |