Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jscarle committed Feb 27, 2024
1 parent 319b5f7 commit d5bb219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/LightResults.CurrentBenchmarks/Benchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void Current_Result_HasError()
public void Current_Result_ErrorsIndexer()
{
for (var iteration = 0; iteration < Iterations; iteration++)
_ = ResultFailWithErrorMessage.Errors[0];
_ = ResultFailWithErrorMessage.Error;
}

[Benchmark]
Expand Down Expand Up @@ -148,4 +148,4 @@ public void Current_Error_New_WithErrorMessage_ToString()
for (var iteration = 0; iteration < Iterations; iteration++)
_ = ErrorWithErrorMessage.ToString();
}
}
}

0 comments on commit d5bb219

Please sign in to comment.