all: remove some unused parameters in test code

Mostly unnecessary *testing.T arguments.

Found with github.com/mvdan/unparam.

Change-Id: Ifb955cb88f2ce8784ee4172f4f94d860fa36ae9a
Reviewed-on: https://go-review.googlesource.com/41691
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Daniel Martí 2017-04-25 10:58:12 +01:00
parent 11c7b4491b
commit 516e6f6d5d
12 changed files with 43 additions and 44 deletions

View file

@ -53,14 +53,14 @@ func TestStopTheWorldDeadlock(t *testing.T) {
}
func TestYieldProgress(t *testing.T) {
testYieldProgress(t, false)
testYieldProgress(false)
}
func TestYieldLockedProgress(t *testing.T) {
testYieldProgress(t, true)
testYieldProgress(true)
}
func testYieldProgress(t *testing.T, locked bool) {
func testYieldProgress(locked bool) {
c := make(chan bool)
cack := make(chan bool)
go func() {