Skip to content

Commit 1cf6e0d

Browse files
committed
logging to figure out which culture is used in lab
1 parent b06b2bb commit 1cf6e0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libraries/System.Runtime/tests/System.Globalization.Tests/CultureInfo/CultureInfoCurrentCulture.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ public void CurrentCulture()
3737
[PlatformSpecific(TestPlatforms.OSX | TestPlatforms.iOS | TestPlatforms.MacCatalyst | TestPlatforms.tvOS)]
3838
public void CurrentCulture_Default_Not_Invariant()
3939
{
40+
// [REMOVE] Log CurrentCulture
41+
System.Diagnostics.Debug.WriteLine($"Debug: CurrentCulture on Apple platform: {CultureInfo.CurrentCulture.Name}");
42+
System.Console.WriteLine($"Console: CurrentCulture on Apple platform: {CultureInfo.CurrentCulture.Name}");
43+
44+
4045
// On OSX-like platforms, it should default to what the default system culture is
4146
// set to. Since we shouldn't assume en-US, we just test if it's not the invariant
4247
// culture.

0 commit comments

Comments
 (0)