Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-add / foo-invalid.yang
index 771c698d835b5744696fb08053dd228d25f9255d..1916b6e337113b2033eebcb3144fcc7cabeddd0f 100644 (file)
@@ -2,16 +2,16 @@ module foo {
     namespace foo;
     prefix foo;
 
+    import bar {
+        prefix bar;
+        revision-date 2017-01-20;
+    }
+
     revision 2017-01-20;
 
-    deviation "/my-leaf" {
+    deviation "/bar:my-leaf" {
         deviate add {
             config true;
         }
     }
-
-    leaf my-leaf {
-        type int32;
-        config false;
-    }
 }
\ No newline at end of file