summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-03-20 23:39:15 +0000
committerVincent Sanders <vince@kyllikki.org>2017-03-20 23:39:15 +0000
commit7706ba5bebfaef5f83f23998199fe6a650b84301 (patch)
tree0688831d3c16bfa411dc623eb821ab401e1118ec /test
parent399d19ce25fde72be62b843744cdc6ad2f70821c (diff)
downloadnetsurf-7706ba5bebfaef5f83f23998199fe6a650b84301.tar.gz
netsurf-7706ba5bebfaef5f83f23998199fe6a650b84301.tar.bz2
fix mime sniff test with comment tag
Diffstat (limited to 'test')
-rw-r--r--test/mimesniff.c2
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),