Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug9242 / root-module.yang
1 module root-module {
2     namespace rm-ns;
3     prefix rm;
4
5     import imp-module {
6         prefix im;
7     }
8
9     import imp-module-2 {
10         prefix im2;
11     }
12
13     revision 2017-10-13;
14
15     deviation "/im:my-leaf" {
16         deviate replace {
17             type im2:new-type;
18         }
19     }
20
21     deviation "/im:my-leaf-2" {
22         deviate replace {
23             type new-type;
24         }
25     }
26
27     typedef new-type {
28         type int32 {
29             range 10..15;
30         }
31     }
32 }