lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r568815 - /incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs
Date Thu, 23 Aug 2007 03:53:02 GMT
Author: aroush
Date: Wed Aug 22 20:53:01 2007
New Revision: 568815

URL: http://svn.apache.org/viewvc?rev=568815&view=rev
Log:
Fix: LUCENENET-89 "NUnit test for TestQueryParser -3"

Modified:
    incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/QueryParser/TestQueryParser.cs?rev=568815&r1=568814&r2=568815&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs Wed Aug 22 20:53:01
2007
@@ -907,7 +907,7 @@
         private void  AssertHits(int expected, System.String query, Lucene.Net.Search.IndexSearcher
is_Renamed)
         {
             Lucene.Net.QueryParsers.QueryParser qp = new Lucene.Net.QueryParsers.QueryParser("date",
new WhitespaceAnalyzer());
-            qp.SetLocale(new System.Globalization.CultureInfo("en"));
+            qp.SetLocale(new System.Globalization.CultureInfo("en-US"));
             Query q = qp.Parse(query);
             Lucene.Net.Search.Hits hits = is_Renamed.Search(q);
             Assert.AreEqual(expected, hits.Length());



Mime
View raw message