[glib: 2/3] tests: Update the expected count in file test
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] tests: Update the expected count in file test
- Date: Mon, 11 Jan 2021 12:00:07 +0000 (UTC)
commit a2525129a7a516e71fd09e571b341b32e881a9e9
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sat Jan 9 16:00:46 2021 +0100
tests: Update the expected count in file test
We added another desktop file, so update the file count.
gio/tests/file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/file.c b/gio/tests/file.c
index e951e1fcd..0de2b3a1f 100644
--- a/gio/tests/file.c
+++ b/gio/tests/file.c
@@ -1041,7 +1041,7 @@ test_measure (void)
if (size > 0)
g_assert_cmpuint (num_bytes, ==, size);
g_assert_cmpuint (num_dirs, ==, 6);
- g_assert_cmpuint (num_files, ==, 31);
+ g_assert_cmpuint (num_files, ==, 32);
g_object_unref (file);
g_free (path);
@@ -1131,7 +1131,7 @@ test_measure_async (void)
g_free (path);
data->expected_dirs = 6;
- data->expected_files = 31;
+ data->expected_files = 32;
g_file_measure_disk_usage_async (file,
G_FILE_MEASURE_APPARENT_SIZE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]