Skip to content

Check the writes in the CDX test server, for errcheck - #107

Merged
tamnd merged 1 commit into
mainfrom
cdx-test-errcheck
Aug 12, 2026
Merged

tamnd merged 1 commit into
mainfrom
cdx-test-errcheck

Conversation

@tamnd

@tamnd tamnd commented Aug 12, 2026

Copy link
Copy Markdown
Owner

main is red on lint. #106 merged at the commit before this two line fix landed on the branch, so the fake CDX server's handler still has two unchecked fmt.Fprint* returns:

ccrawl/cdx_test.go:30:15: Error return value of `fmt.Fprintf` is not checked (errcheck)
ccrawl/cdx_test.go:42:17: Error return value of `fmt.Fprintln` is not checked (errcheck)

golangci-lint run ./... reports 0 issues with this, and the CDX tests still pass. Nothing else changes.

#106 merged one commit short of this, so lint is red on main. The two
writes in the fake CDX server's handler had unchecked returns.
@tamnd tamnd added type: test Tests and coverage area: ci CI and release labels Aug 12, 2026
@tamnd tamnd added this to the v0.10.0 milestone Aug 12, 2026
@tamnd
tamnd merged commit 4586f2a into main Aug 12, 2026
8 checks passed
@tamnd
tamnd deleted the cdx-test-errcheck branch August 12, 2026 02:24
@github-actions github-actions Bot mentioned this pull request Aug 12, 2026
13 of 14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI and release type: test Tests and coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant