]> Cypherpunks repositories - gostls13.git/commit
cmd/go: assert on more of the version string in TestScript/gotoolchain
authorBryan C. Mills <bcmills@google.com>
Wed, 19 Apr 2023 19:39:01 +0000 (15:39 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 21 Apr 2023 18:08:08 +0000 (18:08 +0000)
commiteaecd642004641a0353786f1c679bc3c726d1a02
treee56ac85a2a71dbe06406840ff79ace1182995f6d
parente7d238aaf44b420dc65c39f16733d57de8e9bbd1
cmd/go: assert on more of the version string in TestScript/gotoolchain

The previous assert triggers whenever the 40-character git commit
contains the substring "999", which happens with a probability
decidedly greater than zero.

For #57001.

Change-Id: If0f1bc1a3dd0e6b7e66768d0cf3a79545ee4e5ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/486399
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/testdata/script/gotoolchain.txt