Skip to content

Commit 556104f

Browse files
committed
update change log
1 parent 73f7dba commit 556104f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Documentation/Changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## Unreleased
88

99
### Fixed
10+
-Fix summary output format for culture de-DE [#1263](https://github.com/coverlet-coverage/coverlet/issues/1263)
1011
-Fix threshold doesn't work when coverage empty [#1205](https://github.com/coverlet-coverage/coverlet/issues/1205)
1112
-Fix branch coverage issue for il switch [#1177](https://github.com/coverlet-coverage/coverlet/issues/1177)
1213
-Fix branch coverage with using statement and several awaits[#1176](https://github.com/coverlet-coverage/coverlet/issues/1176)

test/coverlet.core.tests/Helpers/FormatHelperTests.cs

+3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ public class FormatHelperTests
1010
[InlineData(2.2d, "2.2")]
1111
public void TestInvariantFormattableString(double number, string expected)
1212
{
13+
var currentCulture = Thread.CurrentThread.CurrentCulture;
1314
Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE");
15+
1416
var actual = new FormatHelper().Invariant($"{number}");
1517

1618
Assert.Equal(expected, actual);
19+
Thread.CurrentThread.CurrentCulture = currentCulture;
1720
}
1821
}
1922
}

0 commit comments

Comments
 (0)