Fix arg order in CommonParamsTest's assertEquals.

This commit is contained in:
Christine Poerschke 2016-11-14 12:31:38 +00:00
parent a86f807685
commit fba2a864d4
1 changed files with 4 additions and 4 deletions

View File

@ -26,9 +26,9 @@ import org.apache.lucene.util.LuceneTestCase;
*/ */
public class CommonParamsTest extends LuceneTestCase public class CommonParamsTest extends LuceneTestCase
{ {
public void testStart() { assertEquals(CommonParams.START, "start"); } public void testStart() { assertEquals("start", CommonParams.START); }
public void testStartDefault() { assertEquals(CommonParams.START_DEFAULT, 0); } public void testStartDefault() { assertEquals(0, CommonParams.START_DEFAULT); }
public void testRows() { assertEquals(CommonParams.ROWS, "rows"); } public void testRows() { assertEquals("rows", CommonParams.ROWS); }
public void testRowsDefault() { assertEquals(CommonParams.ROWS_DEFAULT, 10); } public void testRowsDefault() { assertEquals(10, CommonParams.ROWS_DEFAULT); }
} }