Skip to content

test: branch test improvements

Fixes: #2128 (closed).

This MR includes the following improvements:

  • Removed ineffective len() assertions from branch tests and updated the fixture file with additional branch for better clarity.
  • Improved the mustWriteHTTPResponse() function by properly deferring file closing to release resources.
  • Fixed outdated mock example in README, created real test example with mock.
Edited by Tim Kuzmin

Merge request reports

Loading