ruby/test
eregon a21ac07f69 * numeric.c (do_coerce): Add a warning when an exception is raised
or an invalid value is returned in #coerce called by
  numeric comparison operators and the exception
  thrown by the caller has no information on the failure.
  In the next release such exception should not be rescued or
  should be the cause of the caller exception. nil is accepted
  as the "no possible coercion" return value. See #7688.
* test/ruby/test_numeric.rb: Add corresponding test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-07 13:16:01 +00:00
..
-ext- vsnprintf.c: fix string precision 2014-05-25 02:56:36 +00:00
base64 * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
benchmark * test/benchmark/test_benchmark.rb: Use test/unit. 2014-05-24 09:46:02 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Add an additional 2014-01-13 17:29:58 +00:00
cgi Use Tempfile#close!. 2014-05-27 16:17:13 +00:00
coverage suppress warning introduced by r42439 [ruby-dev:47040] 2013-08-08 16:27:08 +00:00
csv * lib/csv.rb (CSV.open): Close the opened file when an exception occur. 2014-05-29 10:44:59 +00:00
date * ext/date/date_core.c (rt_rewrite_frags): a new feature (not a 2014-05-04 20:56:28 +00:00
dbm * test/dbm/test_dbm.rb: Use Etc.uname. 2014-05-19 10:37:14 +00:00
digest digest.c: fix #== for non-string arguments 2014-06-06 21:05:48 +00:00
dl test/dl, test/fiddle: relax criteria 2014-03-13 16:18:30 +00:00
drb Join threads. 2014-06-02 11:34:50 +00:00
dtrace vm_method.c: add new ruby::method-cache-clear dtrace probe 2013-12-09 22:50:44 +00:00
erb * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
etc test_etc.rb: omit unrunnable tests 2014-05-18 23:35:04 +00:00
fiddle test/dl, test/fiddle: relax criteria 2014-03-13 16:18:30 +00:00
fileutils test/fileutils/test_fileutils.rb: Close fds. 2014-05-29 12:07:39 +00:00
gdbm * test/dbm/test_dbm.rb: Use Etc.uname. 2014-05-19 10:37:14 +00:00
io Join a thread. 2014-06-05 09:16:57 +00:00
irb
json Remove tempfiles. 2014-05-25 14:32:03 +00:00
lib * test/lib/leakchecker.rb: Leak checker extracted from 2014-05-31 13:31:32 +00:00
logger test/logger/test_logdevice.rb: Close fds. 2014-05-29 13:12:38 +00:00
matrix * lib/matrix.rb: Add Matrix#cofactor [fix GH-568] 2014-04-06 17:46:16 +00:00
minitest test_minitest_unit.rb: invoke by array form 2014-05-25 13:53:25 +00:00
misc ruby-mode.el: fix argument indent 2012-12-03 03:43:40 +00:00
mkmf * test: get rid of warnings. 2014-03-11 04:22:34 +00:00
monitor Join threads. 2014-05-31 15:31:46 +00:00
net * lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body 2014-06-03 04:19:57 +00:00
nkf
objspace * test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file): 2014-03-11 13:23:43 +00:00
open-uri Join threads. 2014-05-31 14:05:54 +00:00
openssl * test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result): 2014-06-03 00:48:29 +00:00
optparse * lib/optparse.rb: The Integer acceptable now allows binary and 2013-09-05 05:02:17 +00:00
ostruct Suppress warnings: ambiguous first argument; put parentheses or even spaces 2013-11-06 06:25:18 +00:00
pathname * ext/pathname/lib/pathname.rb (cleanpath_aggressive): make all 2014-05-05 13:09:58 +00:00
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: dump empty symbols with a 2014-06-05 22:42:58 +00:00
rake Use the block form of Open3.popen3 to close FDs. 2014-05-30 14:06:39 +00:00
rdoc test/rdoc: avoid tempfile leaks 2014-05-26 13:33:06 +00:00
readline test/readline/test_readline.rb: Close fds. 2014-05-29 14:47:28 +00:00
resolv Avoid tempfile leaks using Tempfile.create instead of Tempfile.open. 2014-05-25 14:00:16 +00:00
rexml Avoid a shadowing warning. 2014-05-27 15:15:54 +00:00
rinda Stop DRb service. 2014-06-01 14:08:35 +00:00
ripper parse.y: freeze filename 2014-03-24 13:19:57 +00:00
rss * test/monitor/test_monitor.rb: remove unused variabels. 2014-02-21 01:53:38 +00:00
ruby * numeric.c (do_coerce): Add a warning when an exception is raised 2014-06-07 13:16:01 +00:00
rubygems test/rdoc: avoid tempfile leaks 2014-05-26 14:36:26 +00:00
scanf test_scanf.rb: include arguments in names 2014-02-27 08:19:48 +00:00
sdbm test_sdbm.rb: only if SDBM 2013-06-20 09:18:36 +00:00
shell test_command_processor.rb: clear tmpdir 2013-11-05 08:10:32 +00:00
socket Suppress warnings. 2014-05-28 22:59:07 +00:00
stringio stringio.c: use rb_str_append other than ASCII-8BIT 2014-04-23 02:03:43 +00:00
strscan * test: get rid of warnings. 2014-03-11 04:22:34 +00:00
syslog Add facility to Syslog::Logger. 2013-07-26 11:15:06 +00:00
testunit Close pipes. 2014-05-30 14:17:46 +00:00
thread test/thread: fix leaked threads 2014-05-26 05:01:33 +00:00
uri * test/uri/test_generic.rb (URI#test_merge): Test uri + URI(path) 2013-11-21 07:26:53 +00:00
webrick Close FDs. 2014-05-30 14:50:42 +00:00
win32ole * test/win32ole: get rid of warnings (unused variable). 2014-03-02 19:21:57 +00:00
xmlrpc Close sockets. 2014-05-30 14:28:44 +00:00
zlib * test/zlib/test_zlib.rb: remove commented out code. 2014-02-28 06:57:28 +00:00
inlinetest.rb
profile_test_all.rb * test/profile_test_all.rb: add `failed?' information. 2013-08-19 08:43:13 +00:00
runner.rb * test/runner.rb: fixed randomly test failure. 2014-05-27 08:34:11 +00:00
test_abbrev.rb Fix a line matching problem in Abbrev.abbrev(words, "prefix"). 2012-11-30 03:56:28 +00:00
test_cmath.rb
test_delegate.rb delegate.rb: keep special methods 2014-01-17 11:05:03 +00:00
test_find.rb * lib/find.rb (Find#find): should pass ignore_error option to enumerators. 2014-03-03 15:28:58 +00:00
test_ipaddr.rb * lib/ipaddr.rb: extracted inline tests into test dir. 2014-05-31 07:36:51 +00:00
test_mathn.rb rational.c: ensure to be Rational 2013-07-26 02:42:26 +00:00
test_mutex_m.rb
test_open3.rb * lib/open3.rb (Open3.capture3): Ignore Errno::EPIPE for writing 2014-03-01 10:56:39 +00:00
test_pp.rb * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h: 2012-10-27 02:10:53 +00:00
test_prettyprint.rb
test_prime.rb * lib/prime.rb (Prime#prime?): negative numbers can't be primes 2014-05-08 18:22:29 +00:00
test_pstore.rb Join threads. 2014-05-31 00:01:32 +00:00
test_pty.rb test/test_pty.rb: Close fds. 2014-05-29 13:38:39 +00:00
test_rbconfig.rb * test/test_rbconfig.rb (TestRbConfig): fix r39372. 2013-02-22 08:37:16 +00:00
test_securerandom.rb * test/test_securerandom.rb: use File.exist? instead of File.exists? 2014-02-16 06:55:06 +00:00
test_set.rb * test/test_set.rb: remove commented out code. 2014-02-27 12:52:18 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb * test/test_syslog.rb: remove executable. 2014-05-31 07:03:13 +00:00
test_tempfile.rb test_tempfile.rb: suppress warnings 2013-11-21 09:51:18 +00:00
test_time.rb * lib/time.rb (Time.make_time): Adjust the time zone of "now". 2014-05-06 09:50:08 +00:00
test_timeout.rb test_thread.rb: move thread switch test 2014-05-28 03:05:48 +00:00
test_tmpdir.rb test_tmpdir.rb: remove tmpdir 2013-01-01 14:35:04 +00:00
test_tracer.rb * test/test_tracer.rb: catch up recent rubygems changes. 2013-07-09 08:44:48 +00:00
test_tsort.rb * lib/tsort.rb (TSort.tsort): Extracted from TSort#tsort. 2013-10-17 15:59:40 +00:00
test_weakref.rb test_weakref.rb: find collected weakref 2014-01-10 09:42:31 +00:00
with_different_ofs.rb