]> Cypherpunks repositories - gostls13.git/commit
cmd/go, testing: test names don't have to be alphanumeric
authorIan Lance Taylor <iant@golang.org>
Wed, 3 Jan 2018 19:27:26 +0000 (11:27 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 4 Jan 2018 01:52:55 +0000 (01:52 +0000)
commit43bf63fce1abad1d5fe673e2c869e4d32f62885e
tree4ab1ada29096b60bece8795fde150069ba318e1f
parentf05c8b48ea2d249965418e76c9151a3d6bde7ed9
cmd/go, testing: test names don't have to be alphanumeric

In func TestXxxx(*testing.T) the Xxxx can be anything that can appear
in an identifier, but can't start with a lowercase letter. Clarify the docs.

Fixes #23322

Change-Id: I5c297916981f7e3890ee955d12bc7422a75488e2
Reviewed-on: https://go-review.googlesource.com/86001
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/test/test.go
src/testing/testing.go