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 b9ef35e4c6 Implement Complex#<=>
Implement Complex#<=> so that it is usable as an argument when
calling <=> on objects of other classes (since #coerce will coerce
such numbers to Complex).  If the complex number has a zero imaginary
part, and the other argument is a real number (or complex number with
zero imaginary part), return -1, 0, or 1.  Otherwise, return nil,
indicating the objects are not comparable.

Fixes [Bug #15857]
2019-06-19 10:50:58 -07:00
..
-ext- Ignore warnings about argument prefix with operator symbol. 2019-06-01 15:20:21 +03:00
base64
benchmark
bigdecimal
cgi
coverage
csv
date suppress marshal warnings 2019-06-04 19:00:48 +09:00
dbm
digest
drb
dtrace
erb
etc
excludes Test GC.compact on MJIT again 2019-05-23 00:07:16 -07:00
fiddle
fileutils
gdbm
io
irb Clarify the Ruby version support status in IRB more 2019-06-13 00:41:00 +09:00
json Ignore warnings about ambiguous first argument with the negative integer. 2019-06-01 15:07:35 +03:00
lib Use Exception#full_message for traceback 2019-06-14 08:46:22 +09:00
logger
matrix
minitest
misc
mkmf
monitor
net test/net/imap/test_imap.rb: wait for the server thread to start 2019-06-15 11:06:39 +09:00
nkf
objspace Ignore warnings about ambiguous first argument of regexp with assert match. 2019-06-01 14:44:24 +03:00
open-uri open-uri: Regenerate server certificates for tests 2019-05-27 12:58:08 +09:00
openssl test/openssl/utils.rb: Extend the timeout for armv7l 2019-06-07 23:37:55 +09:00
optparse Allow --enable/--disable options to take an argument 2019-05-15 17:31:11 +09:00
ostruct
pathname
psych
racc test/racc/test_racc_command.rb: Extend the timeout 2019-06-19 23:10:40 +09:00
rdoc ripper_state_lex.rb: chomp CR 2019-06-07 18:57:58 +09:00
readline Revert 3b7862c8e8 causing various CI hangs 2019-05-29 09:05:26 +09:00
reline Remove unnecessary variables 2019-06-08 00:14:58 +09:00
resolv Make Resolv::DNS#each_name accept Resolv::IPv{4,6} arguments 2019-06-08 20:31:12 -07:00
rexml
rinda
ripper Add pipeline operator [Feature #15799] 2019-06-13 18:44:32 +09:00
rss
ruby Implement Complex#<=> 2019-06-19 10:50:58 -07:00
rubygems Merge rubygems master from upstream. 2019-06-01 13:50:41 +03:00
scanf
sdbm
shell
socket
stringio
strscan
syslog
testunit
uri
webrick test/webrick/test_ssl_server.rb: Use EnvUtil.timeout for timeout scale factor 2019-06-13 23:04:41 +09:00
win32ole
yaml
zlib
colors
runner.rb
test_abbrev.rb
test_cmath.rb
test_delegate.rb Fix visibility of some methods when using DelegateClass 2019-05-30 18:34:45 -07:00
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb
test_shellwords.rb
test_singleton.rb
test_sync.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb