Skip to content

Commit abea701

Browse files
Merge pull request #1150 from LucTremblay/defaultThreadCurrentUICulture
Set the DefaultThreadCurrentUICulture to a specific culture, asserted error language consistency
2 parents 6e0e0e9 + 98661a5 commit abea701

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/TestRunners/ConverterTestBase.cs

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
using Microsoft.CodeAnalysis.VisualBasic;
1212
using Xunit;
1313
using Xunit.Sdk;
14+
using System.Globalization;
1415

1516
namespace ICSharpCode.CodeConverter.Tests.TestRunners;
1617

@@ -28,6 +29,7 @@ public class ConverterTestBase
2829

2930
public ConverterTestBase(string rootNamespace = null)
3031
{
32+
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
3133
_rootNamespace = rootNamespace;
3234
var options = new VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
3335
.WithOptionExplicit(true)

0 commit comments

Comments
 (0)