From f90ee9ff6638ff5125d2aafe066fd5cc8e46932f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 25 May 2022 15:58:02 +0200 Subject: basic: add helper function to print --- src/test/test-string-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test-string-util.c') diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c index 1054f9ea31..902d431d9a 100644 --- a/src/test/test-string-util.c +++ b/src/test/test-string-util.c @@ -835,7 +835,7 @@ static void test_strverscmp_improved_one(const char* a, const char *b, int expec log_info("'%s' %s '%s'%s", strnull(a), - r > 0 ? ">" : r < 0 ? "<" : "==", + comparison_operator(r), strnull(b), r == expected ? "" : " !!!!!!!!!!!!!"); assert_se(r == expected); -- cgit v1.2.1