ruby--ruby/spec/ruby/optional
eregon a2c7d0cea9 encoding.c (rb_enc_get_index): return -1 for non-encoding capable objects
* Clarify logic and add spec.
* Now passes test-all with the JSON fix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-03 15:11:49 +00:00
..
capi encoding.c (rb_enc_get_index): return -1 for non-encoding capable objects 2018-08-03 15:11:49 +00:00