1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
Jeremy Evans 8900a25581
Fix Range#{max,minmax} for range with integer beginning and non-integer end
Previously, for inclusive ranges, the max would show up as the
end of the range, even though the end was not an integer and would
not be the maximum value.  For exclusive ranges, max/minmax would
previously raise a TypeError, even though it is possible to get the
correct maximum.

This change to max/minmax also uncovered a similar error in cover?,
which calls max in certain cases, so adjust the code there so that
cover? still works as expected.

Fixes [Bug #17017]
2020-07-13 10:09:38 -07:00
..
-ext- Make Thread#thread_variable? similar to #thread_variable_get 2020-05-25 21:38:35 -07:00
base64
benchmark
bigdecimal bidecimal: improve tests' independence (#3297) 2020-07-12 17:30:29 +09:00
cgi need to restore $stdin. 2020-03-02 13:14:38 +09:00
coverage test/coverage/test_coverage.rb: Add a test for [Bug #16967] 2020-06-20 09:28:03 +09:00
csv Removed trailing spaces [ci skip] 2020-05-14 19:57:39 +09:00
date [ruby/date] Fix cannot load complex into simple error when loading marshal dump (Fixes #20) 2020-06-20 18:35:03 +09:00
dbm
did_you_mean Sync did_you_mean 2020-06-06 13:02:08 -04:00
digest test/digest/test_digest.rb: Apply EnvUtil.apply_timeout_scale to timeout 2020-03-27 15:32:52 +09:00
drb Explicitly loading with envutil.rb 2020-05-28 14:41:08 +09:00
dtrace
erb
etc test/etc/test_etc.rb: skip some tests on Android 2020-02-12 17:28:29 +09:00
excludes
fiber Improved assertions 2020-06-09 21:42:25 +09:00
fiddle [ruby/fiddle] support for very old libffi 2020-06-28 10:40:31 +09:00
fileutils Fix Encoding::CompatibilityError in FileUtils::Entry_#join 2020-06-22 18:34:24 +09:00
gdbm [ruby/gdbm] Workaround for GitHub Actions 2020-06-09 20:54:52 +09:00
io Use %w instead of %i not to create unused IDs 2020-05-09 20:13:30 +09:00
irb Fix typos 2020-05-09 14:22:04 +09:00
json test/json/json_fixtures_test.rb: Prevent an "out of range" warning 2020-07-03 11:47:09 +09:00
lib test/lib/jit_support.rb: Let JIT tests skip on centos8 2020-05-12 17:48:31 +09:00
logger [ruby/logger] Let Logger#reopen not raise on nil log devices 2020-06-11 13:54:04 +09:00
matrix [ruby/matrix] Add Matrix#adjoint [#14] 2020-05-01 03:25:15 -04:00
mkmf Make the mkmf methods private in the global [Bug #16896] 2020-07-13 18:44:22 +09:00
monitor
net Skip test_read_body_block_mod for --jit-wait 2020-06-22 10:45:39 -07:00
nkf
objspace
open-uri
openssl [ruby/openssl] ssl: temporarily remove SSLContext#add_certificate_chain_file 2020-05-13 15:47:51 +09:00
optparse
ostruct Prefer dedicated assertion method 2020-02-25 17:47:17 +09:00
pathname Prefer more descriptive assertion methods 2020-06-21 11:31:48 +09:00
psych [ruby/psych] Fix anchor lookup with symbolized names 2020-06-23 15:26:29 +09:00
racc
rdoc [ruby/rdoc] Check uninitialized instance variable in test 2020-05-24 23:47:24 +09:00
readline Restore class variable setting for tests 2020-05-14 12:27:33 +09:00
reline [ruby/reline] Add a test of autowrap for yamatanooroti 2020-05-17 19:26:53 +09:00
resolv
rinda Revert "Try increasing read timeout of rinda tests" 2020-06-26 22:43:59 -07:00
ripper Drop token info for endless method definition 2020-06-25 01:14:26 +09:00
ruby Fix Range#{max,minmax} for range with integer beginning and non-integer end 2020-07-13 10:09:38 -07:00
rubygems test/rubygems/test_gem_package.rb: Skip a test when TMPDIR is too long 2020-06-17 23:28:51 +09:00
socket test/socket/test_addrinfo.rb: Fix syntax error 2020-06-04 11:29:39 +09:00
stringio [ruby/stringio] StringIO#initialize default to the source string encoding 2020-03-15 18:43:01 +09:00
strscan
syslog
uri Fakes IPSocket.getaddress in the whole method 2020-05-06 16:06:25 +09:00
webrick Add tests of nested multibyte path and DirectoryIndex 2020-06-22 17:31:07 +09:00
win32ole
yaml
zlib
runner.rb
test_abbrev.rb
test_delegate.rb Add instance_methods to class generated by DelegateClass 2020-07-09 15:01:10 -07:00
test_extlibs.rb Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb [open3] only close streams if a block is passed 2020-06-18 10:00:20 -07:00
test_pp.rb Mask RubyVM-specific test 2020-03-05 16:49:27 -06:00
test_prettyprint.rb
test_prime.rb [ruby/prime] Fix Prime.include? 2020-03-06 20:54:33 +09:00
test_pstore.rb
test_pty.rb
test_rbconfig.rb Make RbConfig::CONFIG values mutable [Bug #16738] 2020-03-25 22:09:28 +09:00
test_securerandom.rb
test_set.rb Make mutating the result of SortedSet#to_a not affect the set 2020-06-11 14:02:00 -07:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb Update some syslog tests to absurb the format change of FreeBSD syslog 2020-03-12 15:30:20 +09:00
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb Correctly remove temporary directory if path yielded is mutated 2020-05-29 07:06:46 -07:00
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb