X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fstmt%2Ftest%2FBug4410Test.java;h=f8a939bf01a861726810e8fcdf171b897ed0dfbe;hb=15f75b8bb45e6e3e2454fd7dd837b19b945e4c3a;hp=af221998a1348545d0602eea65374b343509478a;hpb=247d8cbf37d124100f9b5263cca97ff5f29c76e7;p=yangtools.git diff --git a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/test/Bug4410Test.java b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/test/Bug4410Test.java index af221998a1..f8a939bf01 100644 --- a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/test/Bug4410Test.java +++ b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/test/Bug4410Test.java @@ -31,7 +31,7 @@ public class Bug4410Test { assertTrue(rootCause instanceof InferenceException); final String message = rootCause.getMessage(); assertTrue(message.startsWith("Type [(foo?revision=1970-01-01)")); - assertTrue(message.endsWith("was not found.")); + assertTrue(message.contains("was not found")); } } }