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-3.yang
index 325d1393cbbc05e3b3647840d90ab4be00a05935..219614ad6fa23aabe8656d1d268b0225d486f58a 100644 (file)
@@ -2,15 +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 {
             type string;
         }
     }
-
-    leaf my-leaf {
-        type int32;
-    }
 }
\ No newline at end of file