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 Import bigdecimal-1.4.0.pre.20181220a 2018-12-20 23:29:49 +00:00
cgi
coverage Introduce pattern matching [EXPERIMENTAL] 2019-04-17 06:48:03 +00:00
csv Import CSV 3.0.9 2019-04-15 02:05:03 +00:00
date suppress marshal warnings 2019-06-04 19:00:48 +09:00
dbm
digest
drb ignore test_RangeError 2019-05-04 23:32:13 +09:00
dtrace test/dtrace: use TracePoint.__enable 2018-12-11 09:49:31 +00:00
erb erb.rb: prohibit marshaling [EXPERIMENTAL] 2019-03-28 03:46:48 +00:00
etc
excludes Test GC.compact on MJIT again 2019-05-23 00:07:16 -07:00
fiddle test/fiddle/test_function.rb: loosen timeout 2018-12-23 01:40:33 +00:00
fileutils Guard out the test when it is run under root permission 2019-03-14 01:04:53 +00:00
gdbm
io test_io_wait.rb: try to stabilize test_wait_readable 2018-12-31 12:54:40 +00:00
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 Use github url instead of ViewVC. 2019-04-22 20:00:32 +09:00
misc
mkmf test/mkmf/test_flags.rb: try to suppress random CI failure 2018-12-27 16:24:46 +00:00
monitor lib/monitor.rb: avoid race conditions by Thread.handle_interrupt 2018-11-28 01:51:44 +00:00
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 ostruct.rb: Accept block for to_h [#15451]. 2018-12-22 17:05:03 +00:00
pathname STATX_BTIME depends on filesystems 2019-02-22 06:43:11 +00:00
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 Really ensure loading REXML in tests 2018-12-20 04:03:10 +00:00
rinda Add debug message for test_rinda crash 2019-04-07 08:18:09 +00:00
ripper Add pipeline operator [Feature #15799] 2019-06-13 18:44:32 +09:00
rss Upgrade RSS to 0.2.8 2019-01-25 06:35:04 +00:00
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 disable non-blocking pipes and sockets by default 2018-11-29 20:00:00 +00:00
stringio setbyte / ungetbyte allow out-of-range integers 2019-01-15 06:41:58 +00:00
strscan
syslog
testunit Trim MJIT output from TestHideSkip 2019-05-08 17:30:15 +09:00
uri
webrick test/webrick/test_ssl_server.rb: Use EnvUtil.timeout for timeout scale factor 2019-06-13 23:04:41 +09:00
win32ole Add one more retry for win32ole event matcher 2019-05-10 11:54:21 +09:00
yaml
zlib zlib (gzfile_write_raw): do not resize string after .write call 2018-12-07 07:09:31 +00:00
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 Import ipaddr 1.2.2 2018-12-18 05:09:08 +00:00
test_mutex_m.rb
test_observer.rb
test_open3.rb use :chdir option to avoid fd 3 to work with Windows. 2018-12-13 08:53:15 +00:00
test_pp.rb test_pp.rb: show the node when failed 2018-12-03 00:57:06 +00:00
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb fix visibility of SecureRandom.gen_random 2019-05-14 11:44:20 +09:00
test_set.rb
test_shellwords.rb
test_singleton.rb
test_sync.rb
test_syslog.rb
test_tempfile.rb Windows simply causes an error to open invalid path 2019-05-01 17:38:45 +09:00
test_time.rb Test for "%p" in Time.strptime 2019-01-08 07:45:04 +00:00
test_timeout.rb
test_tmpdir.rb tmpdir.rb: permission of user given directory 2019-01-23 06:06:47 +00:00
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb update to Unicode Version 12.1.0 (beta) 2019-04-05 00:58:51 +00:00
test_weakref.rb Pin weakmap references 2019-04-09 23:03:40 +00:00
test_win32api.rb