File tree Expand file tree Collapse file tree
Flow.Launcher.Test/Plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ public class CalculatorPluginTest
2222 private readonly Engine _engine = new ( new Configuration
2323 {
2424 Scope = new Dictionary < string , object >
25- {
26- { "e" , Math . E } , // e is not contained in the default mages engine
27- }
25+ {
26+ { "e" , Math . E } , // e is not contained in the default mages engine
27+ }
2828 } ) ;
2929
3030 public CalculatorPluginTest ( )
@@ -116,6 +116,9 @@ public void ThousandsSeparatorTest_LargeNumber()
116116 [ TestCase ( @"invalid_expression" , "" ) ]
117117 public void CalculatorTest ( string expression , string result )
118118 {
119+ _settings . UseThousandsSeparator = false ;
120+ _settings . DecimalSeparator = DecimalSeparator . UseSystemLocale ;
121+
119122 ClassicAssert . AreEqual ( GetCalculationResult ( expression ) , result ) ;
120123 }
121124
You can’t perform that action at this time.
0 commit comments