context CHANGE do not implement ietf-yang-metadata
No need to, the extension can be instantiated
without the module being implemented.
diff --git a/src/context.c b/src/context.c
index 3970624..3aa16c9 100644
--- a/src/context.c
+++ b/src/context.c
@@ -54,7 +54,7 @@
ly_bool implemented;
LYS_INFORMAT format;
} internal_modules[] = {
- {"ietf-yang-metadata", "2016-08-05", (const char *)ietf_yang_metadata_2016_08_05_yang, 1, LYS_IN_YANG},
+ {"ietf-yang-metadata", "2016-08-05", (const char *)ietf_yang_metadata_2016_08_05_yang, 0, LYS_IN_YANG},
{"yang", "2020-06-17", (const char *)yang_2020_06_17_yang, 1, LYS_IN_YANG},
{"ietf-inet-types", "2013-07-15", (const char *)ietf_inet_types_2013_07_15_yang, 0, LYS_IN_YANG},
{"ietf-yang-types", "2013-07-15", (const char *)ietf_yang_types_2013_07_15_yang, 0, LYS_IN_YANG},
diff --git a/tools/lint/tests/expect/list.exp b/tools/lint/tests/expect/list.exp
index c7bf436..093ac73 100755
--- a/tools/lint/tests/expect/list.exp
+++ b/tools/lint/tests/expect/list.exp
@@ -5,10 +5,10 @@
spawn $env(YANGLINT)
expect -exact "> "
send -- "list\r"
-expect {
+expect {
"list\r
List of the loaded models:\r
- I ietf-yang-metadata@2016-08-05\r
+ i ietf-yang-metadata@2016-08-05\r
I yang@2020-06-17\r
i ietf-inet-types@2013-07-15\r
i ietf-yang-types@2013-07-15\r
@@ -18,4 +18,4 @@
timeout { exit 1 }
}
send -- "exit\r"
-expect eof
\ No newline at end of file
+expect eof
diff --git a/tools/lint/tests/shunit2/list.sh b/tools/lint/tests/shunit2/list.sh
index 21260dc..dab04b7 100755
--- a/tools/lint/tests/shunit2/list.sh
+++ b/tools/lint/tests/shunit2/list.sh
@@ -1,7 +1,7 @@
#! /bin/sh
LIST_BASE="List of the loaded models:
- I ietf-yang-metadata@2016-08-05
+ i ietf-yang-metadata@2016-08-05
I yang@2020-06-17
i ietf-inet-types@2013-07-15
i ietf-yang-types@2013-07-15