[libosinfo PATCH] test-os: Fix make syntax-check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While applying the last patches a few trailing whitespaces have been
introduced, making `make syntax-check` fail.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
Pushed under 'fix breakage' rule!
---

 tests/test-os.c | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/tests/test-os.c b/tests/test-os.c
index f4e758d..178bd15 100644
--- a/tests/test-os.c
+++ b/tests/test-os.c
@@ -236,34 +236,34 @@ static void test_resources_basic(void)
 
     resources_list = osinfo_os_get_minimum_resources(os);
     resources = OSINFO_RESOURCES(osinfo_list_get_nth(OSINFO_LIST(resources_list), 0));
-    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 1);    
-    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 1);    
-    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 1);    
-    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 1);    
+    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 1);
+    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 1);
+    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 1);
+    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 1);
 
     g_clear_object(&resources_list);
     resources_list = osinfo_os_get_recommended_resources(os);
     resources = OSINFO_RESOURCES(osinfo_list_get_nth(OSINFO_LIST(resources_list), 0));
-    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 2);    
-    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 2);    
-    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 2);    
-    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 2);    
+    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 2);
+    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 2);
+    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 2);
+    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 2);
 
     g_clear_object(&resources_list);
     resources_list = osinfo_os_get_maximum_resources(os);
     resources = OSINFO_RESOURCES(osinfo_list_get_nth(OSINFO_LIST(resources_list), 0));
-    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 3);    
-    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 3);    
-    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 3);    
-    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 3);    
+    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 3);
+    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 3);
+    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 3);
+    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 3);
 
     g_clear_object(&resources_list);
     resources_list = osinfo_os_get_network_install_resources(os);
     resources = OSINFO_RESOURCES(osinfo_list_get_nth(OSINFO_LIST(resources_list), 0));
-    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 4);    
-    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 4);    
-    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 4);    
-    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 4);    
+    g_assert_cmpint(osinfo_resources_get_n_cpus(resources), ==, 4);
+    g_assert_cmpint(osinfo_resources_get_cpu(resources), ==, 4);
+    g_assert_cmpint(osinfo_resources_get_ram(resources), ==, 4);
+    g_assert_cmpint(osinfo_resources_get_storage(resources), ==, 4);
 
     g_object_unref(resources_list);
     g_object_unref(db);
-- 
2.19.2

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux