From e16574c8eed889e51052674315a7f793526459c6 Mon Sep 17 00:00:00 2001 From: Phaedrus Leeds Date: Fri, 7 Aug 2020 20:50:18 -0700 Subject: testlibrary: Add missing return value checks --- tests/testlibrary.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testlibrary.c b/tests/testlibrary.c index 2ff6347a..f8d10699 100644 --- a/tests/testlibrary.c +++ b/tests/testlibrary.c @@ -3614,7 +3614,7 @@ test_instance (void) g_assert_no_error (error); g_assert_true (res); - flatpak_transaction_run (transaction, NULL, &error); + res = flatpak_transaction_run (transaction, NULL, &error); g_assert_no_error (error); g_assert_true (res); @@ -3724,7 +3724,7 @@ test_update_subpaths (void) g_assert_no_error (error); g_assert_true (res); - flatpak_transaction_run (transaction, NULL, &error); + res = flatpak_transaction_run (transaction, NULL, &error); g_assert_no_error (error); g_assert_true (res); @@ -4038,7 +4038,7 @@ test_list_installed_related_refs (void) g_assert_no_error (error); g_assert_true (res); - flatpak_transaction_run (transaction, NULL, &error); + res = flatpak_transaction_run (transaction, NULL, &error); g_assert_no_error (error); g_assert_true (res); @@ -4089,7 +4089,7 @@ test_list_installed_related_refs (void) g_assert_no_error (error); g_assert_true (res); - flatpak_transaction_run (transaction, NULL, &error); + res = flatpak_transaction_run (transaction, NULL, &error); g_assert_no_error (error); g_assert_true (res); -- cgit v1.2.1