Commit f396d0e
test(extras): cover RECEIVE_URL branch in runResourceDetail (#15)
The golangci-lint patch (#9) touched cmd/extras.go:195 (the
`detail.ReceiveURL != ""` Fprintf branch), which the 100%-patch-coverage
gate then flagged as uncovered — the human-output success test sent a
payload without `receive_url`, and the JSON test takes the early
encode-return path before reaching that line.
Add `receive_url` to the human-output success fixture so the branch
executes. No production code change.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 47144e8 commit f396d0e
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
0 commit comments