mirror of https://github.com/apache/lucene.git
Fix arg order in CommonParamsTest's assertEquals.
This commit is contained in:
parent
a86f807685
commit
fba2a864d4
|
@ -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); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue