Bug 4540: Yang parser exceptions should follow consistent path
[yangtools.git] / yang / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / stmt / test / Bug4410Test.java
index af221998a1348545d0602eea65374b343509478a..f8a939bf01a861726810e8fcdf171b897ed0dfbe 100644 (file)
@@ -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"));
         }
     }
 }