ruby/test
nagachika d24cce8e7f merge revision(s) bf1a6771f305ea286a3ae575676924551c03e857,c1463625555b061a2b94c3b6c5581730b482a285: [Backport #17012] [Backport #17014]
Fix non-numeric exclusive Range#minmax bug

	The implementation of Range#minmax added in d5c60214c4 causes the
	following incorrect behaviour:

	  ('a'...'c').minmax => ["a", ["a", "b"]]

	instead of

	  ('a'...'c').minmax => ["a", "b"]

	This is because the C implementation of Range#minmax (range_minmax)
	directly delegates to the C implementation of Range#min (range_min) and
	Range#max (range_max), without changing the execution context.

	Range#max's C implementation (range_max), when given a non-numeric
	exclusive range, delegates to super, which is meant to call
	Enumerable#max. However, because range_max is called directly by
	range_minmax, super calls Enumerable#minmax instead, causing the
	incorrect nesting.

	Perhaps it is possible to change the execution context in an optimized
	manner, but the simplest solution seems to be to just explicitly
	delegate from Range#minmax to Range#min and Range#max.

	Use static variables in Range#minmax
2020-07-19 12:16:37 +09:00
..
-ext- Clear all trace events during teardown 2020-03-30 19:15:11 +09:00
base64
benchmark Aliases capture_output to capture_io for test-unit compatiblity. 2019-08-08 17:19:23 +09:00
bigdecimal More fixes for $SAFE/taint post merging 2019-11-18 01:00:25 +02:00
cgi Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
coverage compile.c: stop wrong peephole optimization when covearge is enabled 2019-12-04 10:40:54 +09:00
csv Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
date Fixed misspellings 2019-12-20 12:19:45 +09:00
dbm [ruby/dbm] Remove taint support 2019-10-26 07:03:33 +09:00
did_you_mean Port dd1dd86e6c 2019-12-23 00:47:41 -05:00
digest Restore support library for only test files that are digest and csv. 2019-07-09 21:16:49 +09:00
drb lib/drb/drb.rb: Use ruby2_keywords for keyword separation 2020-03-13 22:38:05 +09:00
dtrace test/dtrace/helper.rb: Etc.getgrnam may return nil on some platforms 2019-10-06 15:23:00 +09:00
erb Suppress uninitialized instance variable warnings 2019-07-04 18:12:08 +09:00
etc
excludes Revert "Skip interruptible raw mode test on Travis-CI" 2019-12-18 00:08:21 +09:00
fiddle Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686) 2019-12-05 14:17:16 +09:00
fileutils Revert "[ruby/fileutils] Fix #install with "X" mode option" 2019-11-30 17:58:39 +09:00
gdbm
io Ruby 2.7 backport about IRB (#2990) 2020-03-30 19:09:50 +09:00
irb Ruby 2.7 backport about IRB (#2990) 2020-03-30 19:09:50 +09:00
json Import json-2.3.0 from flori/json 2019-12-12 09:14:09 +09:00
lib test/lib/jit_support.rb: Let JIT tests skip on centos8 2020-07-11 16:23:59 +09:00
logger Fixed misspellings 2019-12-20 12:19:45 +09:00
matrix Add abs to Matrix (#2199) 2019-08-21 16:36:39 -04:00
misc
mkmf Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
monitor new_cond before mon_initialize 2019-12-04 13:36:41 +09:00
net Revert "lib/net/http/response.rb: support raw deflate correctly" 2019-12-16 23:39:10 +09:00
nkf
objspace Suppress unused variable warnings 2019-06-30 11:45:37 +09:00
open-uri The default charset of text/* media type is UTF-8. 2019-07-15 09:36:52 +09:00
openssl test/openssl/test_ssl: skip test_fallback_scsv if necessary 2020-07-18 13:17:10 +09:00
optparse LoadError is not a subclass of StandardError 2019-11-29 11:25:23 +09:00
ostruct
pathname merge revision(s) a19228f878: [Backport #16979] 2020-06-27 12:29:42 +09:00
psych merge revision(s) 7e289cdf3f: [Backport #16949] 2020-06-13 11:29:51 +09:00
racc Fixed misspellings 2019-12-20 12:19:45 +09:00
rdoc [ruby/rdoc] Support newline in the middle of constant definition 2019-12-24 07:58:53 +09:00
readline Ruby 2.7 backport about IRB (#2990) 2020-03-30 19:09:50 +09:00
reline Ruby 2.7 backport about IRB (#2990) 2020-03-30 19:09:50 +09:00
resolv MinGW on Actions (#2791) 2020-01-30 13:34:24 +09:00
rexml Import REXML 3.2.3 (#2548) 2019-10-12 12:07:15 +09:00
rinda Stop pool threads in test/rinda too 2019-12-09 13:46:23 +09:00
ripper merge revision(s) 263b941321: [Backport #16981] 2020-06-27 12:20:36 +09:00
rss Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
ruby merge revision(s) bf1a6771f305ea286a3ae575676924551c03e857,c1463625555b061a2b94c3b6c5581730b482a285: [Backport #17012] [Backport #17014] 2020-07-19 12:16:37 +09:00
rubygems Merge RubyGems 3.1.2 2019-12-20 11:50:32 +09:00
sdbm
socket Test interfaces include localhost 2019-12-06 16:03:16 +09:00
stringio [ruby/stringio] StringIO#initialize default to the source string encoding 2020-03-15 20:53:14 +09:00
strscan Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
syslog Honor Syslog::Logger#level overrides 2019-09-26 15:01:44 -07:00
uri Check for invalid hex escapes in URI#query= 2019-10-08 07:30:55 -07:00
webrick [ruby/webrick] Check the feature by itself, instead of the version number 2019-11-30 17:52:05 +09:00
win32ole Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
yaml
zlib [ruby/zlib] Fix setting mtime to zero in GzipWriter 2019-10-31 22:23:58 +09:00
runner.rb Separated tool/test/runner.rb and test/runner.rb 2019-07-25 16:57:38 +09:00
test_abbrev.rb
test_delegate.rb Fix SimpleDelegator respond_to? regression 2020-03-15 19:35:24 +09:00
test_extlibs.rb
test_find.rb
test_forwardable.rb [ruby/forwardable] Make def_*_delegator return name of method defined (Fixes #10) 2019-12-11 20:23:53 +09:00
test_ipaddr.rb Assert obsolete method warnings in IPAddr 2019-07-01 13:02:23 +09:00
test_mutex_m.rb
test_observer.rb
test_open3.rb Restore support library for only test files. 2019-07-09 21:04:07 +09:00
test_pp.rb Fix pp when passed a empty ruby2_keywords-flagged hash as array element (#2966) 2020-03-31 16:10:57 +09:00
test_prettyprint.rb
test_prime.rb Suppress method redefinition warnings 2019-06-30 11:49:41 +09:00
test_pstore.rb Expand the timeout of test_pstore_files_are_accessed_as_binary_files 2019-08-05 12:52:14 +09:00
test_pty.rb
test_rbconfig.rb Make RbConfig::CONFIG values mutable [Bug #16738] 2020-03-27 14:51:35 +09:00
test_securerandom.rb Test SecureRandom.uuid format 2019-07-26 09:56:53 -07:00
test_set.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_shellwords.rb Do not escape + in Shellwords.escape 2019-09-27 07:43:32 -07:00
test_singleton.rb
test_syslog.rb Update some syslog tests to absurb the format change of FreeBSD syslog 2020-07-18 13:35:45 +09:00
test_tempfile.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_time.rb Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime 2019-11-21 03:32:20 +02:00
test_timeout.rb
test_tmpdir.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_tracer.rb Use realpath to try to fix failures with symlinks 2019-11-23 11:41:27 +09:00
test_tsort.rb
test_unicode_normalize.rb Removed unused variables 2019-06-28 23:21:37 +09:00
test_weakref.rb
test_win32api.rb