Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-replace / foo-invalid-3.yang
index 7829568f783ebc55fd756bc39a051fe99d08b925..f3a9ab742bd16895c58be0105ba4e599109d558d 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 replace {
             must "a != b";
         }
     }
-
-    leaf my-leaf {
-        type int32;
-        must "a != b";
-    }
 }
\ No newline at end of file