[libgdata/libgdata-0-14] tests: Fix copy–paste er rors in the OAuth 1 tests



commit e3f2d83f933cc79c352233e015b9690278128601
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 a8a9b4f..9ccb269 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]