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.yang
index 43004cf105da6f77b85ba2d7ef2a35f28c8fd71a..04f110c861509f1fd2a0f8553305332f7dcd45e8 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 replace {
             units "seconds";
         }
     }
-
-    leaf my-leaf {
-        type int32;
-    }
 }
\ No newline at end of file