Skip to content

add DefaultBinder negative-path tests (multipart & non-struct)#2844

Open
miladev95 wants to merge 1 commit intolabstack:masterfrom
miladev95:test/bind-negative-multipart-nonstruct
Open

add DefaultBinder negative-path tests (multipart & non-struct)#2844
miladev95 wants to merge 1 commit intolabstack:masterfrom
miladev95:test/bind-negative-multipart-nonstruct

Conversation

@miladev95
Copy link

Summary

Add three focused unit tests to cover negative/error branches in the binder:
TestIsFieldMultipartFile_NonPointer_FileHeader_ReturnsError
TestSetMultipartFileHeaderTypes_NoFiles_ReturnsFalse
TestDefaultBinder_bindData_NonStruct_ReturnsError

improve test coverage for multipart binding and non-struct binding error handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant