chore: code-comments sweep slice 5/5 - cmd/coily test files (non-ops/gh) + integration test #91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Subset of #334. 176 violations across 14 test files that aren't
ops_*_test.goorgh_*_test.go:cmd/coily/brew_test.gocmd/coily/cfg_test.gocmd/coily/denial_reason_test.gocmd/coily/main_test.gocmd/coily/mcporter_rewrite_test.gocmd/coily/passthroughs_test.gocmd/coily/runner_test.gocmd/coily/runtime_test.gocmd/coily/runtime_wrapverb_test.gocmd/coily/scoop_test.gocmd/coily/security_claims_test.go(119 violations - biggest single file in this slice)cmd/coily/upgrade_test.gotest/integration/whoami_test.go(18 violations, has//go:build integrationdirective at line 1)Directive lines (block-aware fix needed):
cmd/coily/security_claims_test.go:509-//nolint:unusedinside a godoc blocktest/integration/whoami_test.go:1-//go:build integration(standalone, fine)Sequencing
Recommend sweeping after the prod-side godoc shape settles (#334 slices 1-4). Tests often paraphrase production godocs and sweeping the prod side first means the test-side rewrite has a stable target to mirror.
Fix
Per #334's rules. Test setup blocks usually collapse aggressively - test names already document intent.
Verify:
Refs
Ported from coilysiren/coily#342.