commit | d67a6c10874fe0543bad330c20fe54795546d5da | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | Sat Jul 10 06:39:17 2021 +0200 |
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | Mon Jul 19 12:53:25 2021 +0200 |
tree | c400a37d14a1eb8771e5aa64cac75fe2dbcc9bd7 | |
parent | 67011e7f754be06f5d03059c8346fd069711a1ab [diff] |
unit: use g_assert_cmpint() and g_assert_cmpuint() Comparisons of simple values should use test macros instead of checking standard library call return value. This prints more information on failure - the actual values used for comparisons. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>