[tracker/rss-enclosures] libtracker-sparql: Use g_assert_no_error() instead in tests
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] libtracker-sparql: Use g_assert_no_error() instead in tests
- Date: Wed, 24 Nov 2010 02:32:31 +0000 (UTC)
commit 8dc5667a43a05e425814a4d1aedf9634bc8edfc7
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]