- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for runTestCases (0.05 seconds)
-
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) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)