summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2014-05-16 09:59:05 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2014-05-27 21:55:20 +0100
commite3f2d83f933cc79c352233e015b9690278128601 (patch)
tree38525ffe127ba8df6ae285704a3649ad99b75993
parenteae25a4c4d3f4924302ed0fb5eb8bd36354bc7ab (diff)
downloadlibgdata-e3f2d83f933cc79c352233e015b9690278128601.tar.gz
tests: Fix copy–paste errors in the OAuth 1 tests
Coverity issues: #59766, #59765
-rw-r--r--gdata/tests/oauth1-authorizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/tests/oauth1-authorizer.c b/gdata/tests/oauth1-authorizer.c
index a8a9b4f1..9ccb2698 100644
--- a/gdata/tests/oauth1-authorizer.c
+++ b/gdata/tests/oauth1-authorizer.c
@@ -498,7 +498,7 @@ test_oauth1_authorizer_request_authentication_uri_sync (OAuth1AuthorizerData *da
g_assert_no_error (error);
g_assert (authentication_uri != NULL && *authentication_uri != '\0');
g_assert (token != NULL && *token != '\0');
- g_assert (token_secret != NULL && *token != '\0');
+ g_assert (token_secret != NULL && *token_secret != '\0');
g_clear_error (&error);
g_test_message ("Requesting an authentication URI gave “%s” with request token “%s” and request token secret “%s”.",
@@ -588,7 +588,7 @@ test_oauth1_authorizer_request_authentication_uri_async_cb (GDataOAuth1Authorize
g_assert_no_error (error);
g_assert (authentication_uri != NULL && *authentication_uri != '\0');
g_assert (token != NULL && *token != '\0');
- g_assert (token_secret != NULL && *token != '\0');
+ g_assert (token_secret != NULL && *token_secret != '\0');
g_clear_error (&error);
g_test_message ("Requesting an authentication URI asynchronously gave “%s” with request token “%s” and request token secret “%s”.",