Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-add / foo10-invalid.yang
index 6f636a7b3d6e7e32eb9702f6fe7d08eb0d10a0b5..410f5b615de0e6e61f5a7bbb1af220745015256a 100644 (file)
@@ -2,16 +2,17 @@ module foo {
     namespace foo;
     prefix foo;
 
+    import bar {
+        prefix bar;
+        revision-date 2017-01-20;
+    }
+
     revision 2017-01-20;
 
-    deviation "/my-leaf-list" {
+    deviation "/bar:my-leaf-list" {
         deviate add {
             default 10;
             default 100;
         }
     }
-
-    leaf-list my-leaf-list {
-        type int32;
-    }
 }
\ No newline at end of file