ruby/test
Jean Boussier ef5565f5d1 JSON.generate: call to_json on String subclasses
Fix: https://github.com/ruby/json/issues/667

This is yet another behavior on which the various implementations
differed, but the C implementation used to call `to_json` on String
subclasses used as keys.

This was optimized out in e125072130229e54a651f7b11d7d5a782ae7fb65
but there is an Active Support test case for it, so it's best to
make all 3 implementation respect this behavior.
2024-11-01 13:04:24 +09:00
..
-ext- Fix indentation in test_after_gc_start_hook_with_GC_stress 2024-10-03 11:58:20 -04:00
.excludes
.excludes-parsey Remove no longer needed excludes files 2024-10-01 02:55:16 +09:00
benchmark
cgi
coverage Only check RubyVM on CRuby 2024-10-30 15:30:28 -05:00
date
did_you_mean
digest
dtrace
erb
error_highlight [ruby/error_highlight] use instance_method to get method object 2024-10-31 00:30:10 +00:00
etc [ruby/etc] Fix sysconfdir when load-relative 2024-10-17 07:32:38 +00:00
fiber Introduce Fiber Scheduler blocking_region hook. (#11963) 2024-10-31 17:26:37 +13:00
fiddle [ruby/fiddle] Fix Fiddle::Handle.new for a missing library in the 2024-10-26 18:44:15 +09:00
fileutils Skip some tests which don't work under permissionless containers 2024-08-23 09:34:41 +10:00
io [ruby/io-console] Store console IO in Ractor-local storage 2024-08-31 08:43:59 +00:00
irb [ruby/irb] Improve history test's encoding setting 2024-10-20 06:18:07 +00:00
json JSON.generate: call to_json on String subclasses 2024-11-01 13:04:24 +09:00
lib [PRISM] Refactor parser support into its own module 2024-07-18 21:15:54 -04:00
logger [ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDevice 2024-07-11 15:25:17 +00:00
mkmf Extend the timeout of test_try_ldflag_invalid_opt and test_try_cppflag_invalid_opt 2024-06-24 18:14:34 +09:00
monitor
net [ruby/net-http] Prevent warnings 2024-09-13 02:39:11 +00:00
objspace Replace all GC.disable with EnvUtil.without_gc 2024-09-17 10:34:26 -04:00
open-uri [ruby/open-uri] Update error message for request_specific_fields option validation 2024-09-08 14:13:00 +00:00
openssl [ruby/openssl] pkcs7: remove default cipher from PKCS7.encrypt 2024-10-31 08:31:16 +00:00
optparse [ruby/optparse] Fix parsing array arguments with :into option 2024-08-05 02:28:12 +00:00
ostruct
pathname Allow method chaining with Pathname#mkpath 2024-10-04 12:21:27 +09:00
prism Removed accidentally sync file 2024-11-01 11:42:29 +09:00
psych [ruby/psych] Ensure strings with only underscores are not processed as Integer 2024-09-11 17:19:18 +00:00
rdoc [ruby/rdoc] feature: Render mixed-in methods and constants with 2024-10-17 20:40:34 +00:00
reline [ruby/reline] Add completion_append_character test 2024-10-25 07:39:42 +00:00
resolv test/resolv/test_dns.rb: Keep UDPSockets until a free port is found 2024-10-10 14:44:51 +09:00
ripper [Bug #20784] Fix incomplete character syntax followed by EOF 2024-10-05 15:59:01 +09:00
ruby alias should not set defined_class for Modules 2024-11-01 11:50:00 +09:00
rubygems [rubygems/rubygems] Fix gem update --system leaving old default bundler executables around 2024-10-30 14:22:08 +00:00
set
socket Allow Errno::EACCES when testing connection timeout 2024-09-03 18:21:01 -07:00
stringio [ruby/stringio] Remove special handling of chilled strings 2024-05-30 15:11:48 +00:00
strscan [ruby/strscan] [JRuby] Optimize scan(): Remove duplicate `if 2024-10-26 18:44:15 +09:00
uri [ruby/uri] Use URI::RFC2396_PARSER explicitly in URI 2024-08-08 02:09:27 +00:00
win32 [ruby/win32-registry] Fix compatibility with JRuby 2024-10-17 01:51:41 +00:00
win32ole
yaml [ruby/yaml] Make YAML::DBM optional 2024-10-16 17:04:37 +09:00
zlib [ruby/zlib] Avoid allocating intermediary strings when read/readpartial are passed an outbuf 2024-05-14 21:44:34 +00:00
runner.rb
test_bundled_gems.rb Update test args with bundled gems. webrick has been removed that targets 2024-09-30 19:10:16 +09:00
test_delegate.rb [ruby/delegate] test: remove needless mu_pp 2024-04-30 23:31:26 +00:00
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb [ruby/ipaddr] Added to_json/as_json method 2024-10-18 15:00:37 +00:00
test_open3.rb
test_pp.rb Make test_hash_symbol_colon_key pass on LANG=en_US 2024-10-10 12:23:18 +09:00
test_prettyprint.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_shellwords.rb
test_singleton.rb
test_tempfile.rb [ruby/tempfile] Support anonymous tempfile on earlier than Ruby 3.2 2024-08-26 02:49:02 +00:00
test_time.rb
test_timeout.rb Make test_nested_timeouts less flaky 2024-05-28 12:49:46 +09:00
test_tmpdir.rb [ruby/tmpdir] Reject empty parent path 2024-09-10 08:44:50 +00:00
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb