diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2025-07-05 15:19:15 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2025-07-05 15:19:15 -0700 |
| commit | b6bca2b7fe943ca4fd8f62a44bcfcc0c9f5a6de1 (patch) | |
| tree | a689744f07dbd61e6e33e1b081dc335a43c1fb57 /cmd | |
| parent | 1f3e5ec139022c20be8ca61b467b96ae7e78a36a (diff) | |
Add comprehensive test coverage for news.go functions
- Add table-driven tests for GetNewsArtListData, DataSize, NewsArtListData.Read, NewsArtList.Read, and newsPathScanner
- Improve test coverage from 0% to 87.5%-100% for these functions
- Add test for Field.DecodeNewsPath function
- Fix NewsArtList.Read to return nil instead of io.EOF for proper io.Reader behavior
- Add constants for NewsFlavorCount and improve code documentation
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions