[tracker/tracker-0.10] tests/libtracker-sparql: Fix cancellation error check
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tests/libtracker-sparql: Fix cancellation error check
- Date: Thu, 7 Apr 2011 13:43:26 +0000 (UTC)
commit 2526539ae414e3c1e0d67f3c25243124d6af7871
Author: Jürg Billeter <j bitron ch>
Date: Mon Apr 4 17:21:13 2011 +0200
tests/libtracker-sparql: Fix cancellation error check
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 73f381a..9f5d902 100644
--- a/tests/libtracker-sparql/tracker-test.c
+++ b/tests/libtracker-sparql/tracker-test.c
@@ -142,7 +142,7 @@ test_tracker_sparql_cursor_next_async_cb (GObject *source,
&error);
if (finished == 1 && next == next_to_cancel) {
- g_assert_no_error (error);
+ g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED);
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]