Explorar o código

Fix WSL InvariantCulture test.

BDisp hai 1 ano
pai
achega
88954b9ab7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SelfContained/Program.cs

+ 1 - 1
SelfContained/Program.cs

@@ -16,7 +16,7 @@ public static class Program
 
         #region The code in this region is not intended for use in a self-contained single-file. It's just here to make sure there is no functionality break with localization in Terminal.Gui using single-file
 
-        if (Equals (Thread.CurrentThread.CurrentUICulture, CultureInfo.InvariantCulture))
+        if (Equals (Thread.CurrentThread.CurrentUICulture, CultureInfo.InvariantCulture) && Application.SupportedCultures.Count == 0)
         {
             Debug.Assert (Application.SupportedCultures.Count == 0);
         }