lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/test/org/apache/lucene/search TestRemoteSearchable.java
Date Wed, 08 Sep 2004 18:10:10 GMT
dnaber      2004/09/08 11:10:09

  Modified:    src/test/org/apache/lucene/search TestRemoteSearchable.java
  Log:
  add an assertEquals, as the variable was not used before
  
  Revision  Changes    Path
  1.10      +2 -1      jakarta-lucene/src/test/org/apache/lucene/search/TestRemoteSearchable.java
  
  Index: TestRemoteSearchable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/search/TestRemoteSearchable.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- TestRemoteSearchable.java	7 Sep 2004 18:26:36 -0000	1.9
  +++ TestRemoteSearchable.java	8 Sep 2004 18:10:09 -0000	1.10
  @@ -101,6 +101,7 @@
       Hits hits = searcher.search(
             new TermQuery(new Term("test", "text")),
             new QueryFilter(new TermQuery(new Term("test", "test"))));
  +    assertEquals(1, hits.length());
       Hits nohits = searcher.search(
             new TermQuery(new Term("test", "text")),
             new QueryFilter(new TermQuery(new Term("test", "non-existent-term"))));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message