lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romseyg...@apache.org
Subject svn commit: r1408674 - /lucene/dev/branches/LUCENE-2878/lucene/core/src/test/org/apache/lucene/search/intervals/TestBasicIntervals.java
Date Tue, 13 Nov 2012 10:49:04 GMT
Author: romseygeek
Date: Tue Nov 13 10:49:03 2012
New Revision: 1408674

URL: http://svn.apache.org/viewvc?rev=1408674&view=rev
Log:
LUCENE-2878: Another test bug

Modified:
    lucene/dev/branches/LUCENE-2878/lucene/core/src/test/org/apache/lucene/search/intervals/TestBasicIntervals.java

Modified: lucene/dev/branches/LUCENE-2878/lucene/core/src/test/org/apache/lucene/search/intervals/TestBasicIntervals.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/LUCENE-2878/lucene/core/src/test/org/apache/lucene/search/intervals/TestBasicIntervals.java?rev=1408674&r1=1408673&r2=1408674&view=diff
==============================================================================
--- lucene/dev/branches/LUCENE-2878/lucene/core/src/test/org/apache/lucene/search/intervals/TestBasicIntervals.java
(original)
+++ lucene/dev/branches/LUCENE-2878/lucene/core/src/test/org/apache/lucene/search/intervals/TestBasicIntervals.java
Tue Nov 13 10:49:03 2012
@@ -220,10 +220,14 @@ public class TestBasicIntervals extends 
     });
   }
 
+  // "t1 t2 t1 t3 t2 t3"
+  //  -----------
+  //     --------
+  //        --------
   public void testOrSingleDocument() throws Exception {
     Query q = makeOrQuery(makeTermQuery("t1"), makeTermQuery("t2"), makeTermQuery("t3"));
     checkIntervals(q, searcher, new int[][]{
-        { 11, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6 }
+        { 11, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5 }
     });
   }
   



Mime
View raw message