Skip to content

Commit

Permalink
not use type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
TapirLiu committed May 1, 2024
1 parent cd3ed36 commit 31d7cf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bytes/bytes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ func repeat(b []byte, count int) (err error) {

// See Issue golang.org/issue/16237
func TestRepeatCatchesOverflow(t *testing.T) {
type testCase = struct {
type testCase struct {
s string
count int
errStr string
Expand Down
2 changes: 1 addition & 1 deletion src/strings/strings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ func repeat(s string, count int) (err error) {

// See Issue golang.org/issue/16237
func TestRepeatCatchesOverflow(t *testing.T) {
type testCase = struct {
type testCase struct {
s string
count int
errStr string
Expand Down

0 comments on commit 31d7cf6

Please sign in to comment.