Skip to content

[codex] Fix struct tag ambiguity tests for vet#13

Merged
myzie merged 1 commit into
mainfrom
codex/fix-struct-tag-vet
May 8, 2026
Merged

[codex] Fix struct tag ambiguity tests for vet#13
myzie merged 1 commit into
mainfrom
codex/fix-struct-tag-vet

Conversation

@myzie
Copy link
Copy Markdown
Contributor

@myzie myzie commented May 8, 2026

Summary

Fixes the failing go vet ./... check on main after the struct-tag field resolution merge.

Details

The ambiguity tests intentionally used duplicate json:"value" tags to verify expr's ambiguity handling. go vet treats repeated JSON tags as an error, so CI failed before tests ran.

This changes those two fixtures to use a custom exprtest:"value" tag and keeps the same WithStructTags(...) ambiguity coverage without triggering vet's JSON-tag check.

Validation

  • go vet ./...
  • go test ./...
  • git diff --check

@myzie myzie merged commit 5607631 into main May 8, 2026
1 check passed
@myzie myzie deleted the codex/fix-struct-tag-vet branch May 8, 2026 11:53
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.

1 participant