We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf1563 commit 64238f4Copy full SHA for 64238f4
main_test.go
@@ -76,7 +76,7 @@ func (s *TestSuite) SetupSuite() {
76
}
77
78
79
-func (s *TestSuite) BeforeTest(suite, name string) {
+func (s *TestSuite) BeforeTest(_, name string) {
80
var filename string
81
82
switch name {
@@ -112,7 +112,7 @@ func (s *TestSuite) BeforeTest(suite, name string) {
112
"test/"+filename,
113
).CombinedOutput()
114
if err != nil {
115
- s.FailNow(string(out))
+ s.FailNow(string(out) + "\n" + err.Error())
116
117
118
s.rawDoc, err = os.ReadFile("test/openapi.yaml")
0 commit comments