diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2014-05-16 10:16:10 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2014-05-16 10:16:10 +0100 |
commit | 931a8fa0ca788496bb3c783328e27e1b8a7bc4c2 (patch) | |
tree | 8d6aaeadec045df9be6d34e3d02a728777f13c95 /gdata/tests/general.c | |
parent | c1a064d48b0fe2fcc006894997b15b8e9e92deae (diff) | |
download | libgdata-931a8fa0ca788496bb3c783328e27e1b8a7bc4c2.tar.gz |
tests: Add an extra assertion about pagination
Coverity issue: #59763
Diffstat (limited to 'gdata/tests/general.c')
-rw-r--r-- | gdata/tests/general.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/tests/general.c b/gdata/tests/general.c index f7f1b55b..fbb2c849 100644 --- a/gdata/tests/general.c +++ b/gdata/tests/general.c @@ -1391,7 +1391,7 @@ test_query_etag (void) #define CHECK_ETAG(C) \ gdata_query_set_etag (query, "foobar"); \ - (C); \ + C; \ g_assert (gdata_query_get_etag (query) == NULL); CHECK_ETAG (gdata_query_set_q (query, "q")) @@ -1405,7 +1405,7 @@ test_query_etag (void) CHECK_ETAG (gdata_query_set_is_strict (query, TRUE)) CHECK_ETAG (gdata_query_set_max_results (query, 1000)) CHECK_ETAG (gdata_query_next_page (query)) - CHECK_ETAG (gdata_query_previous_page (query)) + CHECK_ETAG (g_assert (gdata_query_previous_page (query))) #undef CHECK_ETAG |