printer tree BUGFIX status copy in implicit case
In implicit case, the status is copied from a child.
diff --git a/tests/utests/schema/test_printer_tree.c b/tests/utests/schema/test_printer_tree.c
index eebc8b5..eee35f4 100644
--- a/tests/utests/schema/test_printer_tree.c
+++ b/tests/utests/schema/test_printer_tree.c
@@ -436,6 +436,7 @@
" choice shorthand {\n"
" container cont1 {\n"
" if-feature \"foo\";\n"
+ " status obsolete;\n"
" }\n"
" container cont2 {\n"
" container cont3;\n"
@@ -459,8 +460,8 @@
" +--rw (my_choice)?\n"
" | +--:(my_case)\n"
" +--rw (shorthand)?\n"
- " | +--:(cont1)\n"
- " | | +--rw cont1 {foo}?\n"
+ " | o--:(cont1)\n"
+ " | | o--rw cont1 {foo}?\n"
" | +--:(cont2)\n"
" | +--rw cont2\n"
" | +--rw cont3\n"