Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 8307: Add the option for activating deviation statements
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
bugs
/
bug7440
/
foo.yang
diff --git
a/yang/yang-parser-impl/src/test/resources/bugs/bug7440/foo.yang
b/yang/yang-parser-impl/src/test/resources/bugs/bug7440/foo.yang
index 3afa573d9db50333753507fbcae3e399d10f06aa..7ca75a1d60604142730be7b9bb4821143912c40b 100644
(file)
--- a/
yang/yang-parser-impl/src/test/resources/bugs/bug7440/foo.yang
+++ b/
yang/yang-parser-impl/src/test/resources/bugs/bug7440/foo.yang
@@
-2,17
+2,18
@@
module foo {
namespace foo-ns;
prefix foo-prfx;
namespace foo-ns;
prefix foo-prfx;
+ import bar {
+ prefix bar;
+ revision-date 2016-12-23;
+ }
+
revision 2016-12-23;
revision 2016-12-23;
- deviation "/test-leaf" {
+ deviation "/
bar:
test-leaf" {
deviate replace {
type uint32 {
range "5..50";
}
}
}
deviate replace {
type uint32 {
range "5..50";
}
}
}
-
- leaf test-leaf {
- type int32;
- }
}
\ No newline at end of file
}
\ No newline at end of file