Skip to content

Commit 8e7faa6

Browse files
committed
tests BUGFIX cmocka current version function
1 parent 63a7059 commit 8e7faa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/utests/basic/test_xpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ test_atomize(void **state)
532532

533533
/* all nodes from all modules (including internal, which can change easily, so check just the test modules) */
534534
assert_int_equal(LY_SUCCESS, lys_find_xpath_atoms(UTEST_LYCTX, NULL, "//.", 0, &set));
535-
assert_uint_in_range(set->count, 17, UINT32_MAX);
535+
assert_true(set->count > 17);
536536
ly_set_free(set, NULL);
537537

538538
assert_int_equal(LY_SUCCESS, lys_find_xpath_atoms(UTEST_LYCTX, NULL, "/a:c/ll[a='val1']/ll[a='val2']/b", 0, &set));

0 commit comments

Comments
 (0)