mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Merge branch 'time' into 'main'
gio/tests/g-file-info: don't assume million-in-one events don't happen See merge request GNOME/glib!2177
This commit is contained in:
commit
05d5b404d4
@ -178,7 +178,7 @@ test_g_file_info_modification_time (void)
|
||||
g_assert_nonnull (dt_usecs);
|
||||
|
||||
ts = g_date_time_difference (dt_usecs, dt);
|
||||
g_assert_cmpint (ts, >, 0);
|
||||
g_assert_cmpint (ts, >=, 0);
|
||||
g_assert_cmpint (ts, <, G_USEC_PER_SEC);
|
||||
|
||||
/* Try round-tripping the modification time. */
|
||||
|
Loading…
Reference in New Issue
Block a user