Merge pull request #1562 from stretchr/make-tHelper-a-type-alias

assert: make tHelper a type alias
pull/1567/head
Olivier Mengué 2024-03-05 10:48:10 +01:00 committed by GitHub
commit 89ffab03a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1876,7 +1876,7 @@ var spewConfigStringerEnabled = spew.ConfigState{
MaxDepth: 10,
}
type tHelper interface {
type tHelper = interface {
Helper()
}

View File

@ -6,7 +6,7 @@ type TestingT interface {
FailNow()
}
type tHelper interface {
type tHelper = interface {
Helper()
}