diff options
author | Matthew Leeds <matthew.leeds@endlessm.com> | 2018-03-21 09:21:28 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-23 10:34:52 +0000 |
commit | e2c3157ea8d4959409d4f59b0e20684f25475b73 (patch) | |
tree | 04ef5693407bcc6b7cdd4e221f468afd22b64124 | |
parent | 34c97c3d10ac1d070fe94a7c402e8cc2c5438c6f (diff) | |
download | flatpak-e2c3157ea8d4959409d4f59b0e20684f25475b73.tar.gz |
tests: Minor change to assertion ordering
Philip pointed out it's better to g_assert_no_error before g_assert_true
so the output shows the error message.
Closes: #1501
Approved by: pwithnall
-rw-r--r-- | tests/testlibrary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testlibrary.c b/tests/testlibrary.c index ef05d356..25f91d93 100644 --- a/tests/testlibrary.c +++ b/tests/testlibrary.c @@ -331,8 +331,8 @@ test_remote (void) g_assert_cmpint (flatpak_remote_get_prio (remote), ==, 15); res = flatpak_installation_modify_remote (inst, remote, NULL, &error); - g_assert_true (res); g_assert_no_error (error); + g_assert_true (res); g_clear_object (&remote); |