File tree 2 files changed +4
-0
lines changed
test/coverlet.core.tests/Helpers
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
## Unreleased
8
8
9
9
### Fixed
10
+ -Fix summary output format for culture de-DE [ #1263 ] ( https://github.com/coverlet-coverage/coverlet/issues/1263 )
10
11
-Fix threshold doesn't work when coverage empty [ #1205 ] ( https://github.com/coverlet-coverage/coverlet/issues/1205 )
11
12
-Fix branch coverage issue for il switch [ #1177 ] ( https://github.com/coverlet-coverage/coverlet/issues/1177 )
12
13
-Fix branch coverage with using statement and several awaits[ #1176 ] ( https://github.com/coverlet-coverage/coverlet/issues/1176 )
Original file line number Diff line number Diff line change @@ -10,10 +10,13 @@ public class FormatHelperTests
10
10
[ InlineData ( 2.2d , "2.2" ) ]
11
11
public void TestInvariantFormattableString ( double number , string expected )
12
12
{
13
+ var currentCulture = Thread . CurrentThread . CurrentCulture ;
13
14
Thread . CurrentThread . CurrentCulture = new CultureInfo ( "de-DE" ) ;
15
+
14
16
var actual = new FormatHelper ( ) . Invariant ( $ "{ number } ") ;
15
17
16
18
Assert . Equal ( expected , actual ) ;
19
+ Thread . CurrentThread . CurrentCulture = currentCulture ;
17
20
}
18
21
}
19
22
}
You can’t perform that action at this time.
0 commit comments