[PTRun][Calculator]Fix unit tests on non-english systems (#36569)
* fix tests * update comment
This commit is contained in:
Родитель
809791da25
Коммит
308c4b817e
|
@ -230,6 +230,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Calculator.UnitTests
|
|||
public void RightAnswerForHumanMultiplicationExpressions(string typedString, double answer)
|
||||
{
|
||||
// Setup
|
||||
typedString = typedString.Replace(".", CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator); // Workaround to get correct results when the tests are running on a non-english systems.
|
||||
Query expectedQuery = new(typedString);
|
||||
Query expectedQueryWithKeyword = new("=" + typedString, "=");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче