commit | d322132c09362d38b76e29d043ac08036b959147 | [log] [tgz] |
---|---|---|
author | Vidyashree Rama <vidyashree.rama@huawei.com> | Fri Mar 04 19:08:35 2016 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Mar 08 19:01:08 2016 +0000 |
tree | 31bbf6829e973f4124a70d9d2bcc825ccceb1f08 | |
parent | e6d43af71fb45916642b90030c4aa7a4839ae6cb [diff] [blame] |
Identifier issue fix for module, list, container, leaf, leaf-list, prefix + date agr string for revision fix Change-Id: Id9d596512f35b54f6359d361402bcd0180b71678
diff --git a/src/test/java/org/onosproject/yangutils/parser/impl/listeners/LeafListenerTest.java b/src/test/java/org/onosproject/yangutils/parser/impl/listeners/LeafListenerTest.java index 40afc03..554d651 100644 --- a/src/test/java/org/onosproject/yangutils/parser/impl/listeners/LeafListenerTest.java +++ b/src/test/java/org/onosproject/yangutils/parser/impl/listeners/LeafListenerTest.java
@@ -85,7 +85,7 @@ @Test public void processLeafInvalidIdentifier() throws IOException, ParserException { thrown.expect(ParserException.class); - thrown.expectMessage("mismatched input '1invalid-interval' expecting IDENTIFIER"); + thrown.expectMessage("YANG file error : leaf name 1invalid-interval is not valid."); YangNode node = manager.getDataModel("src/test/resources/LeafInvalidIdentifier.yang"); }