- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for runTestCases (0.05 sec)
-
src/bytes/bytes_test.go
return } // See Issue golang.org/issue/16237 func TestRepeatCatchesOverflow(t *testing.T) { type testCase struct { s string count int errStr string } runTestCases := func(prefix string, tests []testCase) { for i, tt := range tests { err := repeat([]byte(tt.s), tt.count) if tt.errStr == "" { if err != nil { t.Errorf("#%d panicked %v", i, err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0)