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
/
deviation-resolution-test
/
deviation-replace
/
foo-invalid.yang
diff --git
a/yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-replace/foo-invalid.yang
b/yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-replace/foo-invalid.yang
index 43004cf105da6f77b85ba2d7ef2a35f28c8fd71a..04f110c861509f1fd2a0f8553305332f7dcd45e8 100644
(file)
--- a/
yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-replace/foo-invalid.yang
+++ b/
yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-replace/foo-invalid.yang
@@
-2,15
+2,16
@@
module foo {
namespace foo;
prefix foo;
namespace foo;
prefix foo;
+ import bar {
+ prefix bar;
+ revision-date 2017-01-20;
+ }
+
revision 2017-01-20;
revision 2017-01-20;
- deviation "/my-leaf" {
+ deviation "/
bar:
my-leaf" {
deviate replace {
units "seconds";
}
}
deviate replace {
units "seconds";
}
}
-
- leaf my-leaf {
- type int32;
- }
}
\ No newline at end of file
}
\ No newline at end of file