summaryrefslogtreecommitdiff
path: root/tests/sniffing-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sniffing-test.c')
-rw-r--r--tests/sniffing-test.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/sniffing-test.c b/tests/sniffing-test.c
index 2dc9fb2c..498df976 100644
--- a/tests/sniffing-test.c
+++ b/tests/sniffing-test.c
@@ -539,11 +539,6 @@ main (int argc, char **argv)
"type/application_xml/home.gif => application/xml",
do_sniffing_test);
- /* Test the image sniffing path */
- g_test_add_data_func ("/sniffing/type/image",
- "type/image_png/home.gif => image/gif",
- do_sniffing_test);
-
/* Test the feed or html path */
g_test_add_data_func ("/sniffing/type/html/html",
"type/text_html/test.html => text/html",
@@ -554,6 +549,14 @@ main (int argc, char **argv)
g_test_add_data_func ("/sniffing/type/html/atom",
"type/text_html/atom.xml => application/atom+xml",
do_sniffing_test);
+ g_test_add_data_func ("/sniffing/type/html/rdf",
+ "type/text_html/feed.rdf => application/rss+xml",
+ do_sniffing_test);
+
+ /* Test the image sniffing path */
+ g_test_add_data_func ("/sniffing/type/image",
+ "type/image_png/home.gif => image/gif",
+ do_sniffing_test);
/* The spec tells us to only use the last Content-Type header */
g_test_add_data_func ("/sniffing/multiple-headers",