[glib: 8/16] tests: Fix a non-TAP formatted debug message in the basics-gobject test




commit 74e71c78c013e58bbea4a2263513ea59432529c7
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Jun 14 18:36:17 2022 +0100

    tests: Fix a non-TAP formatted debug message in the basics-gobject test
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gobject/tests/basics-gobject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/tests/basics-gobject.c b/gobject/tests/basics-gobject.c
index 416828c248..60ab003198 100644
--- a/gobject/tests/basics-gobject.c
+++ b/gobject/tests/basics-gobject.c
@@ -91,7 +91,7 @@ print_foo (TestIface   *tiobj,
 {
   if (!string)
     string = "<NULL>";
-  g_print ("Iface-FOO: \"%s\" from %p\n", string, tiobj);
+  g_test_message ("Iface-FOO: \"%s\" from %p", string, tiobj);
 }
 static void
 test_object_test_iface_init (gpointer giface,


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