diff options
author | Phaedrus Leeds <matthew.leeds@endlessm.com> | 2020-08-07 20:50:18 -0700 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2020-08-31 16:26:12 +0200 |
commit | e16574c8eed889e51052674315a7f793526459c6 (patch) | |
tree | 0d86b81fbd1d2b9a7c8c05bc1b8b9b84382dee40 | |
parent | ebcad3a402d5094399bd48f2ecc868e0e954f143 (diff) | |
download | flatpak-e16574c8eed889e51052674315a7f793526459c6.tar.gz |
testlibrary: Add missing return value checks
-rw-r--r-- | tests/testlibrary.c | 8 |
1 files 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); |