]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: eliminate "time" special case
authorAustin Clements <austin@google.com>
Mon, 26 Sep 2022 20:04:10 +0000 (16:04 -0400)
committerAustin Clements <austin@google.com>
Wed, 16 Nov 2022 19:00:18 +0000 (19:00 +0000)
commit80d8c77a43f2445a78bd5b5c3b113c95e49766a9
tree9fd3036ed8dac40ca74caa4e2630a951bf069763
parent40cb04c95bdf9a8da6aed8cfe8f32075e0ecc4ac
cmd/dist: eliminate "time" special case

The registerTest function has a special case for commands that start
with "time", but we don't use this case anywhere. Delete this special
case and its support code.

Preparation for #37486.

Change-Id: Ica180417e7aa4e4fc260cb97467942bae972fdb6
Reviewed-on: https://go-review.googlesource.com/c/go/+/448801
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/dist/test.go