diff --git a/src/ReportPortal.Shared/Reporter/Statistics/StatisticsCounter.cs b/src/ReportPortal.Shared/Reporter/Statistics/StatisticsCounter.cs index 6062ce04..50810dee 100644 --- a/src/ReportPortal.Shared/Reporter/Statistics/StatisticsCounter.cs +++ b/src/ReportPortal.Shared/Reporter/Statistics/StatisticsCounter.cs @@ -69,7 +69,7 @@ public void Measure(TimeSpan duration) /// A string that represents the statistics counter. public override string ToString() { - return $"{Count} cnt min/max/avg {Min.TotalMilliseconds:F0}/{Max.TotalMilliseconds:F0}/{Avg.TotalMilliseconds:F0} ms"; + return $"{Count} cnt min/avg/max {Min.TotalMilliseconds:F0}/{Avg.TotalMilliseconds:F0}/{Max.TotalMilliseconds:F0} ms"; } } } diff --git a/test/ReportPortal.Shared.Tests/Reporter/Statistics/StatisticsFixture.cs b/test/ReportPortal.Shared.Tests/Reporter/Statistics/StatisticsFixture.cs index 195f93ac..50f917d8 100644 --- a/test/ReportPortal.Shared.Tests/Reporter/Statistics/StatisticsFixture.cs +++ b/test/ReportPortal.Shared.Tests/Reporter/Statistics/StatisticsFixture.cs @@ -100,7 +100,7 @@ public void ShouldHaveStringRepresentation() counter.Measure(2.222.Seconds()); counter.Measure(3.333.Seconds()); - counter.ToString().Should().Be("3 cnt min/max/avg 1111/3333/2222 ms"); + counter.ToString().Should().Be("3 cnt min/avg/max 1111/2222/3333 ms"); } [Fact]