diff options
-rw-r--r-- | libappstream-glib/as-self-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 835ebd9..d4dde24 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -187,7 +187,7 @@ as_test_monitor_dir_func (void) as_test_loop_quit (); g_assert_cmpint (cnt_added, ==, 0); g_assert_cmpint (cnt_removed, ==, 0); - g_assert_cmpint (cnt_changed, ==, 0); + g_assert_cmpint (cnt_changed, ==, 1); /* delete it */ cnt_added = cnt_removed = cnt_changed = 0; @@ -272,7 +272,7 @@ as_test_monitor_file_func (void) as_test_loop_quit (); g_assert_cmpint (cnt_added, ==, 1); g_assert_cmpint (cnt_removed, ==, 0); - g_assert_cmpint (cnt_changed, ==, 0); + g_assert_cmpint (cnt_changed, ==, 1); /* just change the mtime */ cnt_added = cnt_removed = cnt_changed = 0; @@ -283,7 +283,7 @@ as_test_monitor_file_func (void) as_test_loop_quit (); g_assert_cmpint (cnt_added, ==, 0); g_assert_cmpint (cnt_removed, ==, 0); - g_assert_cmpint (cnt_changed, ==, 0); + g_assert_cmpint (cnt_changed, ==, 1); /* delete it */ cnt_added = cnt_removed = cnt_changed = 0; |