@@ -254,7 +254,7 @@ func Test_Parser_Request_Header(t *testing.T) {
254254
255255 err := parserRequestHeader (client , req )
256256 require .NoError (t , err )
257- require .Equal (t , []byte (applicationJSON ), req .RawRequest .Header .ContentType ())
257+ require .Equal (t , []byte (applicationJSON ), req .RawRequest .Header .ContentType ()) //nolint:testifylint // test
258258 })
259259
260260 t .Run ("auto set xml header" , func (t * testing.T ) {
@@ -297,8 +297,8 @@ func Test_Parser_Request_Header(t *testing.T) {
297297
298298 err := parserRequestHeader (client , req )
299299 require .NoError (t , err )
300- require .True (t , strings . Contains ( string (req .RawRequest .Header .MultipartFormBoundary ()), "--FiberFormBoundary" ) )
301- require .True (t , strings . Contains ( string (req .RawRequest .Header .ContentType ()), multipartFormData ) )
300+ require .Contains (t , string (req .RawRequest .Header .MultipartFormBoundary ()), "--FiberFormBoundary" )
301+ require .Contains (t , string (req .RawRequest .Header .ContentType ()), multipartFormData )
302302 })
303303
304304 t .Run ("ua should have default value" , func (t * testing.T ) {
@@ -436,7 +436,7 @@ func Test_Parser_Request_Body(t *testing.T) {
436436
437437 err := parserRequestBody (client , req )
438438 require .NoError (t , err )
439- require .Equal (t , []byte ("{\" name\" :\" foo\" }" ), req .RawRequest .Body ())
439+ require .Equal (t , []byte ("{\" name\" :\" foo\" }" ), req .RawRequest .Body ()) //nolint:testifylint // test
440440 })
441441
442442 t .Run ("xml body" , func (t * testing.T ) {
@@ -489,8 +489,8 @@ func Test_Parser_Request_Body(t *testing.T) {
489489
490490 err := parserRequestBody (client , req )
491491 require .NoError (t , err )
492- require .True (t , strings . Contains ( string (req .RawRequest .Body ()), "----FiberFormBoundary" ) )
493- require .True (t , strings . Contains ( string (req .RawRequest .Body ()), "world" ) )
492+ require .Contains (t , string (req .RawRequest .Body ()), "----FiberFormBoundary" )
493+ require .Contains (t , string (req .RawRequest .Body ()), "world" )
494494 })
495495
496496 t .Run ("file and form data" , func (t * testing.T ) {
@@ -502,9 +502,9 @@ func Test_Parser_Request_Body(t *testing.T) {
502502
503503 err := parserRequestBody (client , req )
504504 require .NoError (t , err )
505- require .True (t , strings . Contains ( string (req .RawRequest .Body ()), "----FiberFormBoundary" ) )
506- require .True (t , strings . Contains ( string (req .RawRequest .Body ()), "world" ) )
507- require .True (t , strings . Contains ( string (req .RawRequest .Body ()), "bar" ) )
505+ require .Contains (t , string (req .RawRequest .Body ()), "----FiberFormBoundary" )
506+ require .Contains (t , string (req .RawRequest .Body ()), "world" )
507+ require .Contains (t , string (req .RawRequest .Body ()), "bar" )
508508 })
509509
510510 t .Run ("raw body" , func (t * testing.T ) {
0 commit comments