From 754928946d43774a96029bfc3860783b4e4db5a9 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Tue, 3 Sep 2019 16:38:48 -0400 Subject: [PATCH] dissident --- pkging/pkgtest/suite.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkging/pkgtest/suite.go b/pkging/pkgtest/suite.go index 13b9e34..a9ed2fc 100644 --- a/pkging/pkgtest/suite.go +++ b/pkging/pkgtest/suite.go @@ -46,8 +46,7 @@ func (s Suite) Test(t *testing.T) { } func (s Suite) sub(t *testing.T, m reflect.Method) { - name := strings.TrimPrefix(m.Name, "Test_") - name = fmt.Sprintf("%T_%s", s.Pkger, name) + name := fmt.Sprintf("%T/%s", s.Pkger, m.Name) t.Run(name, func(st *testing.T) { defer func() { if err := recover(); err != nil {