Skip to content

Commit

Permalink
internal/results: fix test error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed May 13, 2021
1 parent 044d58f commit a5ccd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/results/results_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestResults(t *testing.T) {

// Ensure the recorded best length and algorithm name are correct.
if c.Length != length {
t.Errorf("incorrect best value %d; expect %d", c.Length, length)
t.Errorf("incorrect best value %d; expect %d", length, c.Length)
}
if c.AlgorithmName != b.Algorithm.String() {
t.Errorf("incorrect algorithm name %q; expect %q", c.AlgorithmName, b.Algorithm)
Expand Down

0 comments on commit a5ccd29

Please sign in to comment.