diff --git a/assert/assertions.go b/assert/assertions.go index ccbd525..8109ef2 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -1876,7 +1876,7 @@ var spewConfigStringerEnabled = spew.ConfigState{ MaxDepth: 10, } -type tHelper interface { +type tHelper = interface { Helper() } diff --git a/require/requirements.go b/require/requirements.go index 91772df..6b7ce92 100644 --- a/require/requirements.go +++ b/require/requirements.go @@ -6,7 +6,7 @@ type TestingT interface { FailNow() } -type tHelper interface { +type tHelper = interface { Helper() }