Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-delete / foo-invalid.yang
index 8cfbd63200ea890f5db0c1b28f156f0b03171ced..87b127229fb360e5dd72c4a1d12af5b48f52862a 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 delete {
             units "seconds";
         }
     }
-
-    leaf my-leaf {
-        type int32;
-    }
 }
\ No newline at end of file