icontheme test: Assert that the subprocess passed
authorSimon McVittie <smcv@debian.org>
Sat, 20 Aug 2022 18:38:29 +0000 (19:38 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 20 Aug 2022 18:38:29 +0000 (19:38 +0100)
Noticed while backporting GLogWriterFunc fixes to 3.24.x (#5119).

Signed-off-by: Simon McVittie <smcv@debian.org>
testsuite/gtk/icontheme.c

index 0e6586a61009a5c612efb5b4629aff1ca4d97843..fb5bf189f473ea44a5e7628237ae06238cd1d1c8 100644 (file)
@@ -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