]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: make two related panic messages more consistent
authorDmitri Shuralyov <dmitshur@golang.org>
Sat, 20 May 2023 03:20:43 +0000 (23:20 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 24 May 2023 17:40:18 +0000 (17:40 +0000)
commitc6f33ed11353620201fa2d4df40dd7304282539d
treeafca3b8afafa8368b308a127557176cd2e6807c8
parentbfdd3bf3a5bce39fefe388a19f75dfd9a484ea21
cmd/dist: make two related panic messages more consistent

In contrast to the HasSuffix argument, there's no need or benefit in
having a ":" before the "racebench" variant mentioned in the message.
(The variant comes after the colon separator—it doesn't include it.)

Change-Id: Ie9948104de9449422037bf39245944255b98f1b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/497735
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/dist/test.go