X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fresources%2Fbugs%2Fbug4933%2Fcorrect%2Ffoo.yang;h=0ae8d614522112a09f53629aabf0518e971dbfd4;hb=5079ec96bfeeb7a6ff66e71a114033c7d6c5c7a3;hp=282e24245907c1c7bee722b002e2b6ae644fe6d2;hpb=4f1692c802228d396f60fa2374646024781c1c12;p=yangtools.git diff --git a/yang/yang-parser-impl/src/test/resources/bugs/bug4933/correct/foo.yang b/yang/yang-parser-impl/src/test/resources/bugs/bug4933/correct/foo.yang index 282e242459..0ae8d61452 100644 --- a/yang/yang-parser-impl/src/test/resources/bugs/bug4933/correct/foo.yang +++ b/yang/yang-parser-impl/src/test/resources/bugs/bug4933/correct/foo.yang @@ -3,36 +3,29 @@ module foo { namespace "foo"; prefix foo; - container my-container { - leaf-list my-leaf-list { - type string; - max-elements 5; - must "0 != 1"; - } + import bar { + prefix bar; } - deviation /my-container/my-leaf-list { + deviation /bar:my-container/bar:my-leaf-list { deviate add { min-elements 1; } } - deviation /my-container/my-leaf-list { + deviation /bar:my-container/bar:my-leaf-list { deviate replace { max-elements 10; } } - deviation /my-container/my-leaf-list { + deviation /bar:my-container/bar:my-leaf-list { deviate delete { must "0 != 1"; } } - container my-container2 { - } - - deviation /my-container2 { + deviation /bar:my-container2 { deviate not-supported; } }