1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
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
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb * test/ruby/envutil.rb (default_warning): New method. 2014-06-01 22:31:30 +00:00
lbtest.rb
marshaltestlib.rb
memory_status.rb * test/ruby/memory_status.rb: add $LOAD_PATH to load test/unit 2014-06-03 03:29:12 +00:00
sentence.rb
test_alias.rb
test_argf.rb
test_arity.rb
test_array.rb
test_assignment.rb compile.c, parse.y: private op assign 2014-06-06 08:07:13 +00:00
test_autoload.rb * test/ruby/envutil.rb (default_warning): New method. 2014-06-01 22:31:30 +00:00
test_backtrace.rb test/ruby: fix leaked threads 2014-05-26 05:38:10 +00:00
test_basicinstructions.rb
test_beginendblock.rb test_beginendblock.rb: avoid leaking threads 2014-05-30 02:32:37 +00:00
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb * object.c (rb_mod_initialize_clone): Override Kernel#initialize_clone 2014-06-07 02:41:01 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_defined.rb
test_dir.rb * test/ruby/test_dir.rb: added testcase of double slash path. 2014-05-20 12:02:03 +00:00
test_dir_m17n.rb test_dir_m17n.rb: assert_raw_file_name 2014-05-28 04:20:35 +00:00
test_econv.rb
test_encoding.rb
test_enum.rb * enum.c: Enumerable#slice_after implemented. 2014-05-18 00:06:05 +00:00
test_enumerator.rb
test_env.rb
test_eval.rb
test_exception.rb add --disable-gem 2014-05-30 15:06:07 +00:00
test_fiber.rb
test_file.rb Join threads. 2014-05-31 15:31:46 +00:00
test_file_exhaustive.rb
test_fixnum.rb
test_flip.rb
test_float.rb * configure.in: Check nextafter() availability. 2014-05-18 00:37:10 +00:00
test_fnmatch.rb
test_gc.rb * test/ruby/test_gc.rb: allocate more objects to invoke GC by newobj. 2014-06-03 09:47:54 +00:00
test_hash.rb
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb io.c: not shorten buffer unless succeeded 2014-06-06 04:39:37 +00:00
test_io_m17n.rb * io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an 2014-05-29 11:29:47 +00:00
test_iseq.rb
test_iterator.rb
test_keyword.rb vm.c: return the result hash 2014-06-03 19:08:40 +00:00
test_lambda.rb
test_lazy_enumerator.rb * enum.c: Enumerable#slice_after implemented. 2014-05-18 00:06:05 +00:00
test_literal.rb
test_m17n.rb
test_m17n_comb.rb Fix a constant reference. 2014-05-18 08:33:39 +00:00
test_marshal.rb Join threads before close pipes. 2014-05-31 23:54:12 +00:00
test_math.rb
test_metaclass.rb
test_method.rb
test_mixed_unicode_escapes.rb
test_module.rb class.c: always clear tables first 2014-05-08 05:34:31 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb * numeric.c (do_coerce): Add a warning when an exception is raised 2014-06-07 13:16:01 +00:00
test_object.rb
test_objectspace.rb
test_optimization.rb
test_pack.rb
test_parse.rb
test_path.rb
test_pipe.rb io.c: truncate before appending 2014-06-07 03:51:57 +00:00
test_primitive.rb
test_proc.rb test/ruby: fix leaked threads 2014-05-26 05:13:40 +00:00
test_process.rb Join threads. 2014-05-31 15:31:46 +00:00
test_rand.rb
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb
test_regexp.rb re.c: consider name encoding 2014-06-04 13:09:57 +00:00
test_require.rb
test_rubyoptions.rb
test_rubyvm.rb
test_settracefunc.rb
test_signal.rb signal.c: directly enqueue 2014-05-10 16:10:32 +00:00
test_sleep.rb I suspect such early wakeup is because of automatic time correction 2014-05-22 10:42:06 +00:00
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb test_string.rb: move and add assertions 2014-05-30 02:55:26 +00:00
test_stringchar.rb
test_struct.rb
test_super.rb
test_symbol.rb
test_syntax.rb parse.y: refine error message 2014-05-27 14:06:48 +00:00
test_system.rb
test_thread.rb test_thread.rb: move thread switch test 2014-05-28 03:05:48 +00:00
test_threadgroup.rb test/ruby: fix leaked threads 2014-05-26 05:13:40 +00:00
test_time.rb
test_time_tz.rb
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb vm_eval.c: exclude hidden variables 2014-05-07 02:25:43 +00:00
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb