[Xfce4-commits] <midori:master> Expect magic_uri to encode spaces as %20
Christian Dywan
noreply at xfce.org
Sun Jan 16 14:04:02 CET 2011
Updating branch refs/heads/master
to 919b0ab0fd8c13485e55eba3fe4d2da0a2d4bae4 (commit)
from cb52ab4fb420ec199102be86746e3bc50536541f (commit)
commit 919b0ab0fd8c13485e55eba3fe4d2da0a2d4bae4
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Jan 16 13:49:11 2011 +0100
Expect magic_uri to encode spaces as %20
tests/magic-uri.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/magic-uri.c b/tests/magic-uri.c
index 07c00cb..2f7f4ed 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 at mustermann.de", NULL);
More information about the Xfce4-commits
mailing list