parser schema CHANGE always return non-const modules
Refs #1645
diff --git a/tests/utests/schema/test_printer_tree.c b/tests/utests/schema/test_printer_tree.c
index bf141fe..5627702 100644
--- a/tests/utests/schema/test_printer_tree.c
+++ b/tests/utests/schema/test_printer_tree.c
@@ -22,7 +22,7 @@
#define TEST_LOCAL_SETUP \
char *printed; \
- const struct lys_module *mod; \
+ struct lys_module *mod; \
const char *orig; \
const char *expect; \
assert_int_equal(LY_SUCCESS, ly_out_new_memory(&printed, 0, &UTEST_OUT));
@@ -37,7 +37,7 @@
base_sections(void **state)
{
TEST_LOCAL_SETUP;
- const struct lys_module *modxx;
+ struct lys_module *modxx;
orig =
"module a01xx {\n"