From 37ec19f6dba9ccee6a8f776aa3020ca189944f0c Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 30 Jul 2021 09:43:10 +0200 Subject: [PATCH] Get rid of warning (#1760) The trailing space was triggering tests\BenchmarkDotNet.IntegrationTests\ThreadingDiagnoserTests.cs(159,140): warning SA1028: Code should not contain trailing whitespace --- .../BenchmarkDotNet.IntegrationTests/ThreadingDiagnoserTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/BenchmarkDotNet.IntegrationTests/ThreadingDiagnoserTests.cs b/tests/BenchmarkDotNet.IntegrationTests/ThreadingDiagnoserTests.cs index e973676f6e..af440d8411 100644 --- a/tests/BenchmarkDotNet.IntegrationTests/ThreadingDiagnoserTests.cs +++ b/tests/BenchmarkDotNet.IntegrationTests/ThreadingDiagnoserTests.cs @@ -156,7 +156,7 @@ private void AssertStats(Summary summary, Dictionary m.Key == assertion.Value.metricName); // precision is set to 2 because CoreCLR might schedule some work item on it's own and hence affect the results.. - // precision = 3 is not enough (e.g., sometimes the actual value may be equal 1.0009765625 while the expected value is 1.0) + // precision = 3 is not enough (e.g., sometimes the actual value may be equal 1.0009765625 while the expected value is 1.0) Assert.Equal(assertion.Value.expectedValue, metric.Value.Value, precision: 2); } }