Skip to content

Commit ab10be1

Browse files
author
Cédric Belin
committed
Code optimization
1 parent 548377b commit ab10be1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/report_test.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ public sealed class ReportTest {
99
/// <summary>
1010
/// The test fixture.
1111
/// </summary>
12-
private static string coverage = string.Empty;
12+
private readonly string coverage;
1313

14-
[ClassInitialize]
15-
public static void ClassInitialize(TestContext _) {
14+
/// <summary>
15+
/// Creates a new test.
16+
/// </summary>
17+
public ReportTest() {
1618
coverage = File.ReadAllText("../res/lcov.info");
1719
}
1820

0 commit comments

Comments
 (0)