mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-15 05:46:15 +01:00
tests: Update the expected count in file test
We added another desktop file, so update the file count.
This commit is contained in:
parent
6f6dfc9487
commit
4963b48a84
@ -1041,7 +1041,7 @@ test_measure (void)
|
|||||||
if (size > 0)
|
if (size > 0)
|
||||||
g_assert_cmpuint (num_bytes, ==, size);
|
g_assert_cmpuint (num_bytes, ==, size);
|
||||||
g_assert_cmpuint (num_dirs, ==, 6);
|
g_assert_cmpuint (num_dirs, ==, 6);
|
||||||
g_assert_cmpuint (num_files, ==, 31);
|
g_assert_cmpuint (num_files, ==, 32);
|
||||||
|
|
||||||
g_object_unref (file);
|
g_object_unref (file);
|
||||||
g_free (path);
|
g_free (path);
|
||||||
@ -1131,7 +1131,7 @@ test_measure_async (void)
|
|||||||
g_free (path);
|
g_free (path);
|
||||||
|
|
||||||
data->expected_dirs = 6;
|
data->expected_dirs = 6;
|
||||||
data->expected_files = 31;
|
data->expected_files = 32;
|
||||||
|
|
||||||
g_file_measure_disk_usage_async (file,
|
g_file_measure_disk_usage_async (file,
|
||||||
G_FILE_MEASURE_APPARENT_SIZE,
|
G_FILE_MEASURE_APPARENT_SIZE,
|
||||||
|
Loading…
Reference in New Issue
Block a user