YANG: Junit testcases for restricions resolution
Change-Id: I35b8a579f924af50a5e2192bdac36dc94784198e
diff --git a/utils/yangutils/src/test/resources/RangeRestrictionInString.yang b/utils/yangutils/src/test/resources/RangeRestrictionInString.yang
new file mode 100644
index 0000000..f167230
--- /dev/null
+++ b/utils/yangutils/src/test/resources/RangeRestrictionInString.yang
@@ -0,0 +1,13 @@
+module Test {
+ yang-version 1;
+ namespace http://huawei.com;
+ prefix Ant;
+ leaf invalid-interval {
+ type hello;
+ }
+ typedef hello {
+ type string {
+ range "1..4 | 10..20";
+ }
+ }
+}