4 Commits

Author SHA1 Message Date
caplost
690ecda6e6 fix: update test file paths to use testdata directory 2025-07-22 15:47:25 +08:00
caplost
65bcbbebdf fix: correct test file paths and add test file to gin directory 2025-07-21 16:17:27 +08:00
caplost
2a89d2c43e fix: resolve gci formatting issues in test files 2025-07-21 15:38:59 +08:00
caplost
99964e1145 test: add comprehensive unit tests for Context.File() method
- Add TestContextFile with multiple test scenarios in context_test.go
- Add simplified tests in context_file_test.go
- Cover file serving, 404 handling, directory access, HEAD requests, and Range requests
- All tests pass successfully
2025-07-21 13:47:39 +08:00