matcha icon indicating copy to clipboard operation
matcha copied to clipboard

TEST: Add unit tests for address parsing in Fetcher

Open andrinoff opened this issue 7 months ago • 2 comments

Is your feature request related to a problem?

The address parsing logic in fetcher/fetcher.go (like formatAddress) is critical but lacks dedicated unit tests to cover edge cases.

Describe the solution you'd like

Add unit tests in fetcher/fetcher_test.go that cover various IMAP address formats, including empty names, special characters, and multiple addresses.

Describe alternatives you've considered

N/A

Additional context

Check fetcher/fetcher.go:formatAddress.

andrinoff avatar Apr 16 '26 13:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 17 '26 05:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar May 31 '26 06:05 floatpanebot