commit | 57715b1099e7cf91e677938326fc0a276cc2c2db | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Mon Jun 17 13:05:22 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Mon Jun 17 13:05:22 2019 +0200 |
tree | c8d4ca26de37a49dfec4187c4482aeab52326150 | |
parent | 7ff55a9c2557d3e2ec9c125f23c776c3ab8c1396 [diff] |
yin parser BUGFIX expect also NULL terminated string from lyxml_get_string
diff --git a/tests/src/test_parser_yin.c b/tests/src/test_parser_yin.c index f6ed631..e903311 100644 --- a/tests/src/test_parser_yin.c +++ b/tests/src/test_parser_yin.c
@@ -173,7 +173,7 @@ st = reset_state(state); ret = yin_parse_module(st->ctx, "<module>\ - </module>", + </module>", st->mod); assert_int_equal(ret, LY_EVALID); logbuf_assert("Missing argument name of a module Line number 1.");