Commit b43dce5e authored by Carlos Garnacho's avatar Carlos Garnacho

tests: Drop dubious assert

In the comment above the "may" verb is key. If the monitor does a
good job at coalescing events that would not be the case, we should
admit the flag being either set or unset here.
parent af005432
......@@ -426,9 +426,7 @@ test_monitor_file_event_created (TrackerMonitorTestFixture *fixture,
g_assert_cmpuint ((file_events & MONITOR_SIGNAL_ITEM_MOVED_FROM), ==, 0);
g_assert_cmpuint ((file_events & MONITOR_SIGNAL_ITEM_MOVED_TO), ==, 0);
g_assert_cmpuint ((file_events & MONITOR_SIGNAL_ITEM_DELETED), ==, 0);
/* We may get an UPDATE due to the way the file is created */
g_assert_cmpuint ((file_events & MONITOR_SIGNAL_ITEM_UPDATED), >, 0);
g_assert_cmpuint ((file_events & MONITOR_SIGNAL_ITEM_ATTRIBUTE_UPDATED), ==, 0);
/* Cleanup environment */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment