tests BUGFIX reflect changes in logging and set position type in parser contexts
diff --git a/tests/src/test_parser_yin.c b/tests/src/test_parser_yin.c
index 5ef0681..1d00e4d 100644
--- a/tests/src/test_parser_yin.c
+++ b/tests/src/test_parser_yin.c
@@ -148,6 +148,7 @@
/* allocate parser context */
st->yin_ctx = calloc(1, sizeof(*st->yin_ctx));
st->yin_ctx->xml_ctx.ctx = st->ctx;
+ st->yin_ctx->pos_type = LY_VLOG_LINE;
st->yin_ctx->xml_ctx.line = 1;
return EXIT_SUCCESS;
@@ -233,6 +234,7 @@
/* allocate parser context */
st->yin_ctx->xml_ctx.ctx = st->ctx;
+ st->yin_ctx->pos_type = LY_VLOG_LINE;
st->yin_ctx->xml_ctx.line = 1;
return EXIT_SUCCESS;