Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / foo-invalid-deviation-target.yang
index 2cbbab76f45b8f17bb214b4ebb61e799a147ca45..96180581a3f56af15aabc197a181ba13f10c0bf4 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-cont" {
+    deviation "/bar:my-cont" {
         deviate add {
             max-elements 5;
         }
     }
-
-    container my-cont {
-
-    }
 }
\ No newline at end of file