aboutsummaryrefslogtreecommitdiff
path: root/src/testing/panic_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/panic_test.go')
-rw-r--r--src/testing/panic_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testing/panic_test.go b/src/testing/panic_test.go
index fc84175ee6..01a34b0801 100644
--- a/src/testing/panic_test.go
+++ b/src/testing/panic_test.go
@@ -198,7 +198,6 @@ func TestPanicHelper(t *testing.T) {
}
})
for i := 0; i < 3; i++ {
- i := i
t.Run(fmt.Sprintf("%v", i), func(t *testing.T) {
chosen := t.Name() == *testPanicTest
if chosen && *testPanicCleanup {