mirror of https://github.com/apache/lucene.git
fix broken assertion message (backwards)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
94b276cf23
commit
5be5135959
|
@ -101,7 +101,7 @@ public class TestCheckIndex extends LuceneTestCase {
|
|||
assertTrue("Invalid version: "+version,
|
||||
version.equals(Constants.LUCENE_MAIN_VERSION+"-SNAPSHOT") ||
|
||||
version.equals(Constants.LUCENE_MAIN_VERSION));
|
||||
assertTrue(version + " should start with: "+Constants.LUCENE_VERSION,
|
||||
assertTrue(Constants.LUCENE_VERSION + " should start with: "+version,
|
||||
Constants.LUCENE_VERSION.startsWith(version));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue