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 2563 - Parser should fail when key statement does not reference leaf.
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
list-keys-test
/
incorrect-list-keys-test2.yang
diff --git a/yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test2.yang
b/yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test2.yang
new file mode 100644
(file)
index 0000000..
9fd843d
--- /dev/null
+++ b/
yang/yang-parser-impl/src/test/resources/list-keys-test/incorrect-list-keys-test2.yang
@@ -0,0
+1,12
@@
+module incorrect-list-keys-test2 {
+
+ namespace "incorrect-list-keys-test2";
+ prefix "test";
+
+ list test1 {
+ key "test1_key1 test1_key2";
+ leaf test1_key1 {
+ type string;
+ }
+ }
+}