Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract transcoding assertions #8794

Merged
merged 1 commit into from Oct 28, 2023
Merged

Conversation

nobu
Copy link
Member

@nobu nobu commented Oct 28, 2023

  • Prefix check_both_ways with assert_ to show proper failure lines.

  • Extract dedicated assertions for Encoding::UndefinedConversionError and Encoding::InvalidByteSequenceError.

- Prefix `check_both_ways` with `assert_` to show proper failure
  lines.

- Extract dedicated assertions for Encoding::UndefinedConversionError
  and Encoding::InvalidByteSequenceError.
@matzbot matzbot merged commit a447a6d into ruby:master Oct 28, 2023
96 of 97 checks passed
@nobu nobu deleted the transcode-assertions branch October 28, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants