aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2020-11-03 13:12:19 -0500
committerMichael Matloob <matloob@golang.org>2020-11-05 19:33:55 +0000
commitd508d86cf12a3c4ee139d31f5f5c9e5e53566ecc (patch)
tree407b71713a51a65bdac41707b6f2e1267ea7737b /test/codegen/mathbits.go
parent370682ae98d7edc3ce9772d6d1d746df93ba9e6d (diff)
downloadgo-d508d86cf12a3c4ee139d31f5f5c9e5e53566ecc.tar.xz
cmd/go: account for flags when parsing regexps in TestScript
Test script expects the regexp argument for stdout, stderr, and cmp to be the first argument after the command, but that might not be the case if the -q or -count flags are provided. Treat the first argument after a flag as a regexp instead. For #39958 Change-Id: I369926109ec10cca8b2c3baca27e7a3f7baf364b Reviewed-on: https://go-review.googlesource.com/c/go/+/267877 Trust: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions