From 1ee58b497753fabea1282f6e6146c810c7d64930 Mon Sep 17 00:00:00 2001 From: dikhan Date: Fri, 17 Jul 2020 11:06:16 -0700 Subject: [PATCH] fix issue with convey second level using t --- openapi/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/common_test.go b/openapi/common_test.go index 5b8005fb3..1464ba2af 100644 --- a/openapi/common_test.go +++ b/openapi/common_test.go @@ -85,7 +85,7 @@ func TestResponseContainsExpectedStatus(t *testing.T) { for _, tc := range testCases { Convey(fmt.Sprintf("When responseContainsExpectedStatus is called: %s", tc.name), t, func() { exists := responseContainsExpectedStatus(tc.inputResponseStatusCodes, tc.inputResponseCode) - Convey("Then the result returned should be the expected one", t, func() { + Convey("Then the result returned should be the expected one", func() { So(exists, ShouldEqual, tc.expectedResult) }) })