[libgdata] tests: Fix copy–paste errors in the OA uth 1 tests



commit 690276602cd61d28d3240d88609f226fdfd5f945
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri May 16 09:59:05 2014 +0100

    tests: Fix copy–paste errors in the OAuth 1 tests
    
    Coverity issues: #59766, #59765

 gdata/tests/oauth1-authorizer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/tests/oauth1-authorizer.c b/gdata/tests/oauth1-authorizer.c
index aa08e99..e5025e4 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”.",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]