1
0
mirror of https://github.com/golang/go synced 2024-11-06 19:36:30 -07:00
go/src/testing
Tobias Klauser 9e277f7d55 all: use "reports whether" consistently instead of "returns whether"
Follow-up for CL 147037 and after Brad noticed the "returns whether"
pattern during the review of CL 150621.

Go documentation style for boolean funcs is to say:

    // Foo reports whether ...
    func Foo() bool

(rather than "returns whether")

Created with:

    $ perl -i -npe 's/returns whether/reports whether/' $(git grep -l "returns whether" | grep -v vendor)

Change-Id: I15fe9ff99180ad97750cd05a10eceafdb12dc0b4
Reviewed-on: https://go-review.googlesource.com/c/150918
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-12-02 15:12:26 +00:00
..
internal/testdeps
iotest
quick
allocs_test.go
allocs.go
benchmark_test.go
benchmark.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
cover.go
example.go
export_test.go
helper_test.go
helperfuncs_test.go
match_test.go
match.go
sub_test.go testing: implement -benchtime=100x 2018-10-12 17:48:31 +00:00
testing_test.go
testing.go testing: add example to package doc 2018-11-16 16:49:09 +00:00