Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Copy link

miladev95 commented Dec 3, 2025

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant