Skip to content

Fix single article NNTP overview ranges#22

Merged
ralyodio merged 1 commit into
profullstack:mainfrom
phucnguyen1707:fix-over-single-article
Jun 15, 2026
Merged

Fix single article NNTP overview ranges#22
ralyodio merged 1 commit into
profullstack:mainfrom
phucnguyen1707:fix-over-single-article

Conversation

@phucnguyen1707

Copy link
Copy Markdown
Contributor

Summary: parse a single NNTP overview article spec as that exact article instead of 0..N; preserve the existing fallback behavior for invalid single specs; add a regression test for parseRange("5") returning 5,5. Verification: env GOMODCACHE=/tmp/go-mod-cache GOCACHE=/tmp/go-build-cache GOTOOLCHAIN=go1.26.0+auto go test ./internal/news/nntpd; env GOMODCACHE=/tmp/go-mod-cache GOCACHE=/tmp/go-build-cache GOTOOLCHAIN=go1.26.0+auto go test ./... . Closes #21.

@ralyodio ralyodio merged commit 0944fa2 into profullstack:main Jun 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NNTP OVER single article range returns earlier articles

2 participants