Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug5899 / foo.yang
1 module foo {
2     yang-version 1;
3
4     namespace "org.namespace.test.foo";
5     prefix "foo";
6
7     description "foo";
8
9     revision "2016-01-01" {
10         description "Initial version.";
11     }
12
13     grouping test-grouping {
14         leaf test-leaf {
15             type string;
16         }
17     }
18
19     container test-container {
20         uses test-grouping {
21             refine test-leaf {
22                 description "refined description";
23                 must "test-leaf != 'not test message 1'" {
24                     error-message "not test message 1";
25                 }
26                 must "test-leaf != 'not test message 2'" {
27                     error-message "not test message 2";
28                 }
29             }
30         }
31     }
32 }