mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix potential locale-dependent test failure
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
013622a2a7
commit
7e7f85352b
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ namespace Flow.Launcher.Test.Plugins
|
||||||
public void CalculatorTest(string expression, string result)
|
public void CalculatorTest(string expression, string result)
|
||||||
{
|
{
|
||||||
_settings.UseThousandsSeparator = false;
|
_settings.UseThousandsSeparator = false;
|
||||||
_settings.DecimalSeparator = DecimalSeparator.UseSystemLocale;
|
_settings.DecimalSeparator = DecimalSeparator.Dot;
|
||||||
|
|
||||||
ClassicAssert.AreEqual(GetCalculationResult(expression), result);
|
ClassicAssert.AreEqual(GetCalculationResult(expression), result);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue