diff options
author | Denis Kenzior <denkenz@gmail.com> | 2024-03-14 22:05:41 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2024-03-14 22:06:11 -0500 |
commit | 0c9e9d69f97ae8b8eacabfd0cabe38ff6b74f5ee (patch) | |
tree | 41c6fdfee5777703156b12837e6253caaa4eb6c5 | |
parent | 4509b47b453a95ea555ea570b9e6bebab92c4a65 (diff) |
unit: assert on l_uintset_take
Assert on this method invocation to be consistent with invocation of
other methods in this unit test.
-rw-r--r-- | unit/test-uintset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-uintset.c b/unit/test-uintset.c index 091d2547..e28c732a 100644 --- a/unit/test-uintset.c +++ b/unit/test-uintset.c @@ -411,7 +411,7 @@ static void test_uintset_subtract(const void *data) assert(!l_uintset_contains(sub, 64)); l_uintset_free(sub); - l_uintset_take(set_b, 64); + assert(l_uintset_take(set_b, 64)); /* (64) - (65, 63) = (64) */ sub = l_uintset_subtract(set_a, set_b); |