Test cards update preserves HTML body
Merged
RO
5mo ago+18+18+01234567890123456789-0-0-0123456789
Summary
- Add a regression test for
cards update --body '<p>Hello <code>world</code></p>' - Assert preformatted HTML is sent as the card
contentpayload unchanged
Validation
GOWORK=off go test ./internal/commands -run 'TestCardsUpdate(PreservesHTMLBody|ContentIsHTML)'
Refs #420.
Summary by cubic
Add a regression test verifying that cards update --body '<p>Hello <code>world</code></p>' preserves the HTML body and sends it unchanged as the content payload. Addresses #420.