Skip to content

Ruby 2.6 : fix failing transcode tests.#6211

Merged
headius merged 1 commit intojruby:masterfrom
k77ch7:ruby-2.6-fix-failing-transcode-tests
May 11, 2020
Merged

Ruby 2.6 : fix failing transcode tests.#6211
headius merged 1 commit intojruby:masterfrom
k77ch7:ruby-2.6-fix-failing-transcode-tests

Conversation

@k77ch7
Copy link
Contributor

@k77ch7 k77ch7 commented May 11, 2020

This fixes failling TestTranscode#test_invalid_replace_string and #test_scrub_encode_with_coderange.

see https://github.com/ruby/ruby/blob/v2_6_6/string.c#L10152-L10172
https://github.com/ruby/ruby/blob/v2_6_6/transcode.c#L2703

@k77ch7 k77ch7 mentioned this pull request May 11, 2020
28 tasks
@ahorek
Copy link
Contributor

ahorek commented May 11, 2020

nice, this also fixes

fails:String#encode when passed options replaces invalid encoding

@headius
Copy link
Member

headius commented May 11, 2020

Looks great!

@headius headius linked an issue May 11, 2020 that may be closed by this pull request
28 tasks
@headius headius closed this May 11, 2020
@headius headius reopened this May 11, 2020
@headius
Copy link
Member

headius commented May 11, 2020

Oops

@headius headius merged commit 51dfa50 into jruby:master May 11, 2020
@headius headius added this to the JRuby 9.3.0.0 milestone May 11, 2020
headius added a commit that referenced this pull request May 11, 2020
@k77ch7 k77ch7 changed the title Ruby 2.6 : fix failling transcode tests. Ruby 2.6 : fix failing transcode tests. Oct 5, 2020
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.

Remaining Ruby 2.6 work

3 participants