lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [29/32] lucenenet git commit: Fixing bug where incorrect searcher variable was used
Date Fri, 12 Aug 2016 13:25:42 GMT
Fixing bug where incorrect searcher variable was used


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/22caeb07
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/22caeb07
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/22caeb07

Branch: refs/heads/master
Commit: 22caeb07679f12baa8eee4311c4ffc44a4970880
Parents: be84fe2
Author: Connie Yau <conniey@microsoft.com>
Authored: Mon Aug 8 11:45:25 2016 -0700
Committer: Connie Yau <conniey@microsoft.com>
Committed: Mon Aug 8 11:45:25 2016 -0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Search/TestPhraseQuery.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/22caeb07/src/Lucene.Net.Tests/core/Search/TestPhraseQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestPhraseQuery.cs b/src/Lucene.Net.Tests/core/Search/TestPhraseQuery.cs
index 972e713..1f7a96c 100644
--- a/src/Lucene.Net.Tests/core/Search/TestPhraseQuery.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestPhraseQuery.cs
@@ -380,7 +380,7 @@ namespace Lucene.Net.Search
             Assert.AreEqual(1, hits[1].Doc);
             Assert.AreEqual(0.31, hits[2].Score, 0.01);
             Assert.AreEqual(2, hits[2].Doc);
-            QueryUtils.Check(Random(), query, Searcher, Similarity);
+            QueryUtils.Check(Random(), query, searcher, Similarity);
             reader.Dispose();
             directory.Dispose();
         }


Mime
View raw message