summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2010-09-06 16:50:19 +0100
committerRoss Burton <ross@linux.intel.com>2010-09-06 16:50:19 +0100
commitf975d4138a65d3f8be6ce9abba86ab26137414ea (patch)
tree363fef008a3c0d1993505d4ed031d67bb542fb10
parent70743a182cc650efa40291f091023cff7ea5d20b (diff)
downloadlibrest-f975d4138a65d3f8be6ce9abba86ab26137414ea.tar.gz
tests: Add + to the OAuth escape tests
-rw-r--r--tests/oauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/oauth.c b/tests/oauth.c
index 4b25bf9..5757946 100644
--- a/tests/oauth.c
+++ b/tests/oauth.c
@@ -77,10 +77,10 @@ main (int argc, char **argv)
call = rest_proxy_new_call (proxy);
rest_proxy_call_set_function (call, "echo_api.php");
- rest_proxy_call_add_param (call, "escape", "!£$%^&*()");
+ rest_proxy_call_add_param (call, "escape", "!+£$%^&*()");
if (!rest_proxy_call_sync (call, &error))
g_error ("Cannot make call: %s", error->message);
- g_assert_cmpstr (rest_proxy_call_get_payload (call), ==, "escape=%21%C2%A3%24%25%5E%26%2A%28%29");
+ g_assert_cmpstr (rest_proxy_call_get_payload (call), ==, "escape=%21%2B%C2%A3%24%25%5E%26%2A%28%29");
g_object_unref (call);
g_object_unref (proxy);