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-2022: String Type pattern parsing and resolving fix.
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
model
/
bar.yang
diff --git
a/yang/yang-parser-impl/src/test/resources/model/bar.yang
b/yang/yang-parser-impl/src/test/resources/model/bar.yang
index 56de7b6f29c45c19fa06630c9a06297669a7558d..3501ff45a9e9e2bd7c15e08df2d87f4c9ac0bfbc 100644
(file)
--- a/
yang/yang-parser-impl/src/test/resources/model/bar.yang
+++ b/
yang/yang-parser-impl/src/test/resources/model/bar.yang
@@
-50,6
+50,19
@@
module bar {
}
}
}
}
+ typedef invalid-string-pattern {
+ type string {
+ pattern "[[A-1*-%22!^^}";
+ }
+ }
+
+ typedef multiple-pattern-string {
+ type string {
+ pattern "[[A-1*-%22!^^}";
+ pattern "[e-z]*";
+ }
+ }
+
typedef my-decimal-type {
type decimal64 {
fraction-digits 6;
typedef my-decimal-type {
type decimal64 {
fraction-digits 6;