From: Christian Dywan Date: Sun, 16 Jan 2011 12:49:11 +0000 (+0100) Subject: Expect magic_uri to encode spaces as %20 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=919b0ab0fd8c13485e55eba3fe4d2da0a2d4bae4;p=midori Expect magic_uri to encode spaces as %20 --- diff --git a/tests/magic-uri.c b/tests/magic-uri.c index 07c00cb2..2f7f4ed6 100644 --- a/tests/magic-uri.c +++ b/tests/magic-uri.c @@ -161,8 +161,8 @@ static void magic_uri_search (void) { test_input ("sm midori", SM "midori"); - test_input ("sm cats dogs", SM "cats dogs"); - test_input ("se cats dogs", SM "cats dogs"); + test_input ("sm cats dogs", SM "cats%20dogs"); + test_input ("se cats dogs", SM "cats%20dogs"); test_input ("dict midori", NULL); test_input ("cats", NULL); test_input ("cats dogs", NULL); @@ -185,9 +185,9 @@ magic_uri_search (void) test_input ("de.po verbose", NULL); test_input ("verbose de.po", NULL); test_input ("g de.po verbose", NULL); - test_input ("sm de.po verbose", SM "de.po verbose"); + test_input ("sm de.po verbose", SM "de.po%20verbose"); test_input ("sm warning: configure /dev/net: virtual", - SM "warning: configure /dev/net: virtual"); + SM "warning:%20configure%20/dev/net:%20virtual"); test_input ("g \"ISO 9001:2000 certified\"", NULL); test_input ("g conference \"April 2, 7:00 am\"", NULL); test_input ("max@mustermann.de", NULL);