commit | 1af868e8b4237756dd8282aa17a117eddfad1d4e | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Wed Jul 17 17:03:14 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Wed Jul 17 17:03:14 2019 +0200 |
tree | 9c3cb7c87e9912dcb5205e156549243d444170e6 | |
parent | 374d2b3131bd1085e7fc23b5a4f0322f71510dec [diff] [blame] |
yin parser CHANGE add support for max-elements element
diff --git a/tests/src/test_parser_yang.c b/tests/src/test_parser_yang.c index f63acee..258cba7 100644 --- a/tests/src/test_parser_yang.c +++ b/tests/src/test_parser_yang.c
@@ -2230,6 +2230,7 @@ assert_int_equal(parse_type_enum_value_pos(&ctx, &data, YANG_POSITION, &val, &flags, NULL), LY_EVALID); logbuf_assert("Invalid value \"-0\" of \"position\". Line number 1."); + *state = NULL; ly_ctx_destroy(ctx.ctx, NULL); }