This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new 2bd2212  BUG: 
Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap_::TestCharArrayMap()
 - Was failing in Turkish, lowercasing must be done in the invariant culture to 
match Lucene
2bd2212 is described below

commit 2bd22125f6f856f3bc194c02195f4adf4ba16c4a
Author: Shad Storhaug <[email protected]>
AuthorDate: Thu Aug 15 16:38:35 2019 +0700

    BUG: 
Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap_::TestCharArrayMap()
 - Was failing in Turkish, lowercasing must be done in the invariant culture to 
match Lucene
---
 src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap.cs 
b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap.cs
index 218004c..39beaeb 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayMap.cs
@@ -42,7 +42,7 @@ namespace Lucene.Net.Analysis.Util
                     key[j] = (char)Random().Next(127);
                 }
                 string keyStr = new string(key);
-                string hmapKey = ignoreCase ? keyStr.ToLower() : keyStr;
+                string hmapKey = ignoreCase ? keyStr.ToLowerInvariant() : 
keyStr;
 
                 int val = Random().Next();
 

Reply via email to