[gtk/wip/smcv/log-writer] icontheme test: Assert that the subprocess passed




commit 3cfe04aa740f284000179714cd0d710f4c485ea8
Author: Simon McVittie <smcv debian org>
Date:   Sat Aug 20 19:38:29 2022 +0100

    icontheme test: Assert that the subprocess passed
    
    Noticed while backporting GLogWriterFunc fixes to 3.24.x (#5119).
    
    Signed-off-by: Simon McVittie <smcv debian org>

 testsuite/gtk/icontheme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/testsuite/gtk/icontheme.c b/testsuite/gtk/icontheme.c
index 0e6586a610..fb5bf189f4 100644
--- a/testsuite/gtk/icontheme.c
+++ b/testsuite/gtk/icontheme.c
@@ -359,7 +359,7 @@ test_lookup_order (void)
     }
 
   g_test_trap_subprocess (NULL, 0, 0);
-  g_test_trap_has_passed ();
+  g_test_trap_assert_passed ();
 }
 
 static void


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