diff options
author | Ross Burton <ross@linux.intel.com> | 2010-09-06 16:50:19 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2010-09-06 16:50:19 +0100 |
commit | f975d4138a65d3f8be6ce9abba86ab26137414ea (patch) | |
tree | 363fef008a3c0d1993505d4ed031d67bb542fb10 | |
parent | 70743a182cc650efa40291f091023cff7ea5d20b (diff) |
tests: Add + to the OAuth escape tests
-rw-r--r-- | tests/oauth.c | 4 |
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); |