zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05236
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 442: Fix tests
------------------------------------------------------------
revno: 442
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: zeitgeist
timestamp: Mon 2012-03-19 22:55:09 +0100
message:
Fix tests
modified:
extensions/fts++/test/test-indexer.cpp
--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts++/test/test-indexer.cpp'
--- extensions/fts++/test/test-indexer.cpp 2012-03-19 21:15:57 +0000
+++ extensions/fts++/test/test-indexer.cpp 2012-03-19 21:55:09 +0000
@@ -1033,8 +1033,8 @@
g_assert_cmpuint (matches, >, 0);
g_assert_cmpuint (results->len, ==, 2);
- assert_nth_result_has_id (results, 0, event_id3);
- assert_nth_result_has_id (results, 1, event_id4);
+ assert_nth_result_has_id (results, 0, event_id1);
+ assert_nth_result_has_id (results, 1, event_id3);
}
static void
@@ -1066,8 +1066,8 @@
g_assert_cmpuint (matches, >, 0);
g_assert_cmpuint (results->len, ==, 3);
- assert_nth_result_has_id (results, 0, event_id7);
- assert_nth_result_has_id (results, 1, event_id9);
+ assert_nth_result_has_id (results, 0, event_id9);
+ assert_nth_result_has_id (results, 1, event_id7);
assert_nth_result_has_id (results, 2, event_id6);
}