diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-11 19:39:11 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-12 08:20:28 +0200 |
commit | f21b863eebbd54e481dd62192dec5ec9e3aa12d9 (patch) | |
tree | bc875e9d2e3500bdb759fd1472a4a24a8bc08130 /src/test/test-escape.c | |
parent | ci: use the system llvm-11 package on Focal (diff) | |
download | systemd-f21b863eebbd54e481dd62192dec5ec9e3aa12d9.tar.xz systemd-f21b863eebbd54e481dd62192dec5ec9e3aa12d9.zip |
test: use assert_se() instead of assert()
Diffstat (limited to 'src/test/test-escape.c')
-rw-r--r-- | src/test/test-escape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-escape.c b/src/test/test-escape.c index 413e8cd860..3fd318653c 100644 --- a/src/test/test-escape.c +++ b/src/test/test-escape.c @@ -58,8 +58,8 @@ static void test_xescape_full(bool eight_bits) { log_info("%02d: <%s>", i, q); if (i > 0) assert_se(endswith(q, ".")); - assert(strlen(q) <= i); - assert(strlen(q) + 3 >= strlen(t)); + assert_se(strlen(q) <= i); + assert_se(strlen(q) + 3 >= strlen(t)); } } |