diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-03 12:37:25 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-03 12:37:43 +0100 |
commit | c510323368b342c500f012a67891aaec39e8fa52 (patch) | |
tree | 2c8c1a4ff67f087a992dbc3f95fde2f3b3ac78ec /libnm-util | |
parent | 0f4ddf78824e176543bd89f2b65cbedc86d57f27 (diff) | |
download | NetworkManager-c510323368b342c500f012a67891aaec39e8fa52.tar.gz |
all/tests: fix messages for ASSERT() macro
These places pass an invalid arguments for the given
format string. Fix them, by dropping the overly verbose
ASSERT() macro.
Diffstat (limited to 'libnm-util')
-rw-r--r-- | libnm-util/tests/test-setting-8021x.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libnm-util/tests/test-setting-8021x.c b/libnm-util/tests/test-setting-8021x.c index ad48ac614d..14e1df14ca 100644 --- a/libnm-util/tests/test-setting-8021x.c +++ b/libnm-util/tests/test-setting-8021x.c @@ -47,9 +47,7 @@ compare_blob_data (const char *test, ASSERT (len > 0, test, "blob key file invalid (size 0)"); - ASSERT (len == key->len, - test, "blob key file (%d) and setting key data (%d) lengths don't match", - len, key->len); + g_assert_cmpint (len, ==, key->len); ASSERT (memcmp (contents, key->data, len) == 0, test, "blob key file and blob key data don't match"); |