Skip to content

Commit

Permalink
chore: Adjust for newer test version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 21, 2024
1 parent 377064d commit 0a18316
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Uno.UI.Tests/BinderTests/Given_Binder.TwoWay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Data;
using Uno.UI.Xaml;
using System.Globalization;

namespace Uno.UI.Tests.BinderTests
{
Expand Down Expand Up @@ -308,7 +309,9 @@ public object Convert(object value, Type targetType, object parameter, string la
if (value != null)
{
var result = (double)value;
return result.ToString("C");

// Required after mstest 3.3.6, which changes the default culture
return result.ToString("C", new CultureInfo("en-US"));
}
else
{
Expand Down

0 comments on commit 0a18316

Please sign in to comment.