Skip to content

test: expect feed charset headers#367

Merged
stevenjoezhang merged 1 commit into
masterfrom
codex/fix-feed-content-type-tests
Jul 6, 2026
Merged

test: expect feed charset headers#367
stevenjoezhang merged 1 commit into
masterfrom
codex/fix-feed-content-type-tests

Conversation

@stevenjoezhang

Copy link
Copy Markdown
Member

What changed

Update the feed - atom and feed - rss unit tests to expect the UTF-8 charset added by #365.

Why

#365 intentionally changed feed responses from bare application/atom+xml / application/rss+xml to application/atom+xml; charset=utf-8 / application/rss+xml; charset=utf-8, but the existing tests still asserted the old headers. That made unrelated PRs, including #366, fail CI after rebasing onto the fixed behavior.

Validation

  • node node_modules/eslint/bin/eslint.js .
  • node node_modules/mocha/bin/mocha test/index.js --grep 'feed -'
  • node node_modules/mocha/bin/mocha test/index.js --grep 'change port setting' --invert

Full test/index.js was also run once; only the pre-existing fixed-port test change port setting failed locally because macOS ControlCenter was already listening on 0.0.0.0:5000.

@stevenjoezhang stevenjoezhang marked this pull request as ready for review July 6, 2026 07:41
@stevenjoezhang stevenjoezhang changed the title [codex] test: expect feed charset headers test: expect feed charset headers Jul 6, 2026

@SukkaW SukkaW left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stevenjoezhang stevenjoezhang merged commit acfb89c into master Jul 6, 2026
25 checks passed
@stevenjoezhang stevenjoezhang deleted the codex/fix-feed-content-type-tests branch July 6, 2026 16:27
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.

2 participants