diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-12 02:39:11 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-12 15:20:28 +0900 |
commit | f21b863eebbd54e481dd62192dec5ec9e3aa12d9 (patch) | |
tree | bc875e9d2e3500bdb759fd1472a4a24a8bc08130 /src/test/test-strv.c | |
parent | 1c71302f70c7d0712d49b5214f5f29b4d6a2c73e (diff) | |
download | systemd-f21b863eebbd54e481dd62192dec5ec9e3aa12d9.tar.gz |
test: use assert_se() instead of assert()
Diffstat (limited to 'src/test/test-strv.c')
-rw-r--r-- | src/test/test-strv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-strv.c b/src/test/test-strv.c index 51ad45b5ac..34f438cf9c 100644 --- a/src/test/test-strv.c +++ b/src/test/test-strv.c @@ -1007,7 +1007,7 @@ static void test_strv_fnmatch(void) { v = strv_new("xxx", "*\\*", "yyy"); assert_se(!strv_fnmatch_full(v, "\\", 0, NULL)); assert_se(strv_fnmatch_full(v, "\\", FNM_NOESCAPE, &pos)); - assert(pos == 1); + assert_se(pos == 1); } int main(int argc, char *argv[]) { |