You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2016/11/14 12:40:45 UTC

lucene-solr:branch_6x: Fix arg order in CommonParamsTest's assertEquals.

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 3046f86ce -> 3e37f4294


Fix arg order in CommonParamsTest's assertEquals.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/3e37f429
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/3e37f429
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/3e37f429

Branch: refs/heads/branch_6x
Commit: 3e37f4294a97f8ff7d661fa7e41fb243008869df
Parents: 3046f86
Author: Christine Poerschke <cp...@apache.org>
Authored: Mon Nov 14 12:31:38 2016 +0000
Committer: Christine Poerschke <cp...@apache.org>
Committed: Mon Nov 14 12:36:15 2016 +0000

----------------------------------------------------------------------
 .../test/org/apache/solr/common/params/CommonParamsTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3e37f429/solr/solrj/src/test/org/apache/solr/common/params/CommonParamsTest.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/common/params/CommonParamsTest.java b/solr/solrj/src/test/org/apache/solr/common/params/CommonParamsTest.java
index c79c797..73643d7 100755
--- a/solr/solrj/src/test/org/apache/solr/common/params/CommonParamsTest.java
+++ b/solr/solrj/src/test/org/apache/solr/common/params/CommonParamsTest.java
@@ -26,9 +26,9 @@ import org.apache.lucene.util.LuceneTestCase;
  */
 public class CommonParamsTest extends LuceneTestCase
 {
-  public void testStart() { assertEquals(CommonParams.START, "start"); }
-  public void testStartDefault() { assertEquals(CommonParams.START_DEFAULT, 0); }
+  public void testStart() { assertEquals("start", CommonParams.START); }
+  public void testStartDefault() { assertEquals(0, CommonParams.START_DEFAULT); }
 
-  public void testRows() { assertEquals(CommonParams.ROWS, "rows"); }
-  public void testRowsDefault() { assertEquals(CommonParams.ROWS_DEFAULT, 10); }
+  public void testRows() { assertEquals("rows", CommonParams.ROWS); }
+  public void testRowsDefault() { assertEquals(10, CommonParams.ROWS_DEFAULT); }
 }