Skip to content

Commit

Permalink
rand: fix printf(var) mistake detected by latest printf checker
Browse files Browse the repository at this point in the history
For golang/go#69267.

Change-Id: I28b189236bfa7a7efc4a11a8585d358fbce75ec1
Reviewed-on: https://go-review.googlesource.com/c/exp/+/610935
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
dmitshur authored and gopherbot committed Sep 4, 2024
1 parent 9b4947d commit e7e105d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand/rand_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func checkSampleDistribution(t *testing.T, samples []float64, expected *statsRes
actual := getStatsResults(samples)
err := actual.checkSimilarDistribution(expected)
if err != nil {
t.Errorf(err.Error())
t.Error(err)
}
}

Expand Down

0 comments on commit e7e105d

Please sign in to comment.