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:
Robert Muir 2012-06-08 23:23:05 +00:00
parent 94b276cf23
commit 5be5135959
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}