Split out AbstractValidation
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / YT776Test.java
index 2e8f7d7b9645110059ab0335edae6890d8d77de1..d6295726a3569bf9330e8d2848cf71f51a8cd732 100644 (file)
@@ -114,7 +114,7 @@ public class YT776Test {
             mod.ready();
             fail("Should fail with IAE");
         } catch (IllegalArgumentException e) {
-            assertEquals("Node (yt776)attributes does not have enough elements (0), needs at least 1", e.getMessage());
+            assertEquals("(yt776)attributes does not have enough elements (0), needs at least 1", e.getMessage());
         }
     }
 
@@ -166,7 +166,7 @@ public class YT776Test {
             mod.ready();
             fail("Should fail with IAE");
         } catch (IllegalArgumentException e) {
-            assertEquals("Node (yt776)attributes has too many elements (3), can have at most 2", e.getMessage());
+            assertEquals("(yt776)attributes has too many elements (3), can have at most 2", e.getMessage());
         }
     }