aboutsummaryrefslogtreecommitdiff
path: root/src/testing/flag_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/flag_test.go')
-rw-r--r--src/testing/flag_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testing/flag_test.go b/src/testing/flag_test.go
index 6a7754425d..fb65e15928 100644
--- a/src/testing/flag_test.go
+++ b/src/testing/flag_test.go
@@ -25,7 +25,6 @@ func TestFlag(t *testing.T) {
testenv.MustHaveExec(t)
for _, flag := range []string{"", "-test.v", "-test.v=test2json"} {
- flag := flag
t.Run(flag, func(t *testing.T) {
t.Parallel()
cmd := exec.Command(testenv.Executable(t), "-test.run=^TestFlag$", "-test_flag_arg="+flag)