Skip to content

Commit

Permalink
fix issue with convey second level using t
Browse files Browse the repository at this point in the history
  • Loading branch information
dikhan committed Jul 17, 2020
1 parent 7dee746 commit 1ee58b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})
Expand Down

0 comments on commit 1ee58b4

Please sign in to comment.