Skip to content

Commit 66225c5

Browse files
committed
test BUGFIX invalid flag name
1 parent 34855e9 commit 66225c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utests/data/test_printer_json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ test_empty_leaf_list(void **state)
102102

103103
data = "{\"schema2:a\":{}}";
104104
CHECK_PARSE_LYD_PARAM(data, LYD_JSON, 0, LYD_VALIDATE_PRESENT, LY_SUCCESS, tree);
105-
assert_int_equal(LY_SUCCESS, lyd_print_mem(&buffer, tree, LYD_JSON, LYD_PRINT_EMPTY_CONT | LYD_PRINT_EMPTY_LEAF_LIST));
105+
assert_int_equal(LY_SUCCESS, lyd_print_mem(&buffer, tree, LYD_JSON, LYD_PRINT_KEEPEMPTYCONT | LYD_PRINT_EMPTY_LEAF_LIST));
106106
CHECK_STRING(buffer, "{\n"
107107
" \"schema2:a\": {\n"
108108
" \"b\": {\n"

0 commit comments

Comments
 (0)