File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ linters:
4040 - paralleltest
4141 - cyclop # because we have gocyclo already
4242 # TODO: review the linters below. We disabled them to make the CI pass first.
43- - gocritic
4443 - containedctx
4544 - ireturn
4645 - varnamelen
Original file line number Diff line number Diff line change @@ -194,8 +194,7 @@ func TestOptionalJSONSchemaSuite(t *testing.T) {
194194
195195// Further testing with all formats recognized by strfmt
196196func TestFormat_JSONSchemaExtended (t * testing.T ) {
197- jsonFormatSchemaFixturesPath := filepath .Join (formatFixturesPath )
198- files , err := ioutil .ReadDir (jsonFormatSchemaFixturesPath )
197+ files , err := ioutil .ReadDir (formatFixturesPath )
199198 if err != nil {
200199 t .Fatal (err )
201200 }
@@ -213,7 +212,7 @@ func TestFormat_JSONSchemaExtended(t *testing.T) {
213212 return
214213 }
215214 t .Log ("Running [extended formats] " + specName )
216- b , _ := ioutil .ReadFile (filepath .Join (jsonFormatSchemaFixturesPath , fileName ))
215+ b , _ := ioutil .ReadFile (filepath .Join (formatFixturesPath , fileName ))
217216 doTestSchemaSuite (t , b )
218217 })
219218 }
You can’t perform that action at this time.
0 commit comments