[tracker] libtracker-sparql: Use g_assert_no_error() instead in tests
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-sparql: Use g_assert_no_error() instead in tests
- Date: Thu, 11 Nov 2010 17:28:02 +0000 (UTC)
commit 536c590d33e9e220bd56cb906554e9ccec64386f
Author: Martyn Russell <martyn lanedo com>
Date: Thu Nov 11 14:37:49 2010 +0000
libtracker-sparql: Use g_assert_no_error() instead in tests
tests/libtracker-sparql/tracker-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-sparql/tracker-test.c b/tests/libtracker-sparql/tracker-test.c
index d778d52..c419bd1 100644
--- a/tests/libtracker-sparql/tracker-test.c
+++ b/tests/libtracker-sparql/tracker-test.c
@@ -141,7 +141,7 @@ test_tracker_sparql_cursor_next_async_cb (GObject *source,
&error);
if (finished == 1 && next == next_to_cancel) {
- g_assert (error != NULL);
+ g_assert_no_error (error);
g_print ("Got Cancellation GError\n");
} else {
g_assert_no_error (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]