summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-07-18 23:52:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-07-20 14:59:19 +0900
commit6ff9604f85bf5ffcb6dbfd9ff99ab420c9a5f415 (patch)
treef78d51354355cdf1bfe683e8451fc2bc1864645c /spec/ruby/core/float
parent840115bf46476dc2b3c175f7716b4d6000906f40 (diff)
[ruby/stringio] Raise an error if encoding conversion not succeeded
As `rb_str_conv_enc()` returns the argument string object itself unchanged when any conversion failed, check the incompatibility in that case. Fixes https://github.com/ruby/stringio/issues/13 https://github.com/ruby/stringio/commit/ede6bdcc71
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3334
Diffstat (limited to 'spec/ruby/core/float')
0 files changed, 0 insertions, 0 deletions