ruby/test/ruby
mrkn 7708560bb1 * numeric.c (num_quo): Use to_r method to convert the receiver to
rational.  [ruby-core:41575] [Bug #5736]

* test/ruby/test_numeric.rb: add a test for the above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-06 13:31:22 +00:00
..
enc use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb envutil.rb: envutil in child 2013-05-20 18:08:55 +00:00
lbtest.rb Revert r35180; the fix break the test. see [ruby-dev:30653] 2012-04-03 04:27:30 +00:00
marshaltestlib.rb marshal.c: check for prepended 2013-03-09 02:58:45 +00:00
memory_status.rb memory_status.rb: EnvUtil 2012-12-06 08:25:45 +00:00
sentence.rb
test_alias.rb * test/ruby/test_alias.rb (test_super_in_aliased_module_method): 2012-08-04 01:04:05 +00:00
test_argf.rb Specify external_encoding 2013-03-30 17:07:32 +00:00
test_arity.rb * test/ruby/test_arity.rb (TestArity#err_mess): use assert_raise. 2012-03-15 01:31:43 +00:00
test_array.rb * test_array.rb: Make test more precise 2013-03-22 22:56:13 +00:00
test_assignment.rb
test_autoload.rb * test/csv/test_features.rb, test/logger/test_logger.rb 2013-04-20 23:03:52 +00:00
test_backtrace.rb test_backtrace.rb: test Thread#backtrace_locations with range 2013-02-23 08:08:24 +00:00
test_basicinstructions.rb test_basicinstructions.rb: fix typo 2013-02-07 01:20:39 +00:00
test_beginendblock.rb * test/csv/test_features.rb, test/logger/test_logger.rb 2013-04-20 23:03:52 +00:00
test_bignum.rb * numeric.c (num_quo): should return a Float for a Float argument. 2013-06-06 01:04:11 +00:00
test_call.rb
test_case.rb
test_class.rb * test/ruby/test_class.rb: Simplify warning checks 2013-03-30 04:33:28 +00:00
test_clone.rb
test_comparable.rb compar.c: inversed comarison without infinite recursion 2013-02-17 11:55:50 +00:00
test_complex.rb * complex.c (make_patterns): should not accept extra sign. 2012-11-17 14:57:22 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb variable.c: show namespace 2012-11-29 08:45:13 +00:00
test_continuation.rb * test_continuation.rb (tracing_with_thread_set_trace_func): 2012-08-21 01:41:07 +00:00
test_defined.rb * test/ruby/test_defined.rb (TestDefined#test_super_toplevel): 2013-05-05 10:02:41 +00:00
test_dir.rb dir.c: not skip dot directories if matching 2013-04-18 07:20:53 +00:00
test_dir_m17n.rb * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_entries_compose): 2013-05-21 12:50:21 +00:00
test_econv.rb Suppress warnings. 2012-07-25 06:49:35 +00:00
test_encoding.rb * encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd string 2012-02-05 15:17:50 +00:00
test_enum.rb * test_enum.rb: Make test more precise 2013-03-22 23:01:10 +00:00
test_enumerator.rb enumerator.c: use VALUE 2013-05-18 02:05:17 +00:00
test_env.rb test_{env,hash}.rb: descriptive assertions 2013-04-09 07:21:50 +00:00
test_eval.rb class.c: suppress wrong warning 2013-03-30 21:27:27 +00:00
test_exception.rb * test/csv/test_features.rb, test/logger/test_logger.rb 2013-04-20 23:03:52 +00:00
test_fiber.rb cont.c: fiber local svar 2013-01-30 04:17:59 +00:00
test_file.rb * test/csv/test_features.rb, test/logger/test_logger.rb 2013-04-20 23:03:52 +00:00
test_file_exhaustive.rb test_file_exhaustive.rb: fix abolute root 2013-03-13 02:58:52 +00:00
test_fixnum.rb * numeric.c (num_quo): should return a Float for a Float argument. 2013-06-06 01:04:11 +00:00
test_flip.rb test_flip.rb: flip-flop shared by threads 2013-01-09 05:32:33 +00:00
test_float.rb Suppress warning: Bignum out of Float range 2012-11-07 07:03:53 +00:00
test_fnmatch.rb * dir.c (bracket): fix copy-paste error. When the first and last 2013-05-25 09:32:47 +00:00
test_gc.rb * gc.c: Improve accuracy of objspace_live_num() and 2013-03-18 15:30:02 +00:00
test_hash.rb test_{env,hash}.rb: descriptive assertions 2013-04-09 07:21:50 +00:00
test_ifunless.rb use local variables 2012-08-08 13:46:09 +00:00
test_integer.rb * include/ruby/intern.h: add the prototype declaration of 2012-12-22 15:06:22 +00:00
test_integer_comb.rb
test_io.rb GC before running test_copy_stream_socket7 2013-05-29 04:38:38 +00:00
test_io_m17n.rb * io.c (rb_io_ext_int_to_encs): ignore internal encoding if external 2013-05-08 08:47:26 +00:00
test_iseq.rb * compile.c (iseq_compile_each): remove redundant trace(line) 2013-02-28 14:04:53 +00:00
test_iterator.rb use local variables 2012-08-08 13:46:09 +00:00
test_keyword.rb compile.c: not simple if keyword args 2013-06-01 08:25:05 +00:00
test_lambda.rb * vm_insnhelper.c (argument_error): use line number at the beginning 2012-03-16 03:00:44 +00:00
test_lazy_enumerator.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2013-03-10 20:02:47 +00:00
test_literal.rb * compile.c (compile_array_): refix r37991 remove assertion: 2012-11-29 17:35:29 +00:00
test_m17n.rb * string.c (String#b): Allow code range scan to happen later so 2013-06-05 15:05:48 +00:00
test_m17n_comb.rb Get libc's path by ldd [Bug #7828] [ruby-core:52129] 2013-02-12 03:18:04 +00:00
test_marshal.rb marshal.c: no overwriting ivars 2013-05-02 08:32:48 +00:00
test_math.rb
test_metaclass.rb
test_method.rb test_method.rb: fix for direct invocation 2013-05-27 16:48:18 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * variable.c (set_const_visibility): use rb_frame_this_func() instead 2013-05-24 10:33:05 +00:00
test_not.rb * parse.y (primary): allow an empty grouped expression as the 2012-07-18 07:05:12 +00:00
test_notimp.rb
test_numeric.rb * numeric.c (num_quo): Use to_r method to convert the receiver to 2013-06-06 13:31:22 +00:00
test_object.rb * object.c (rb_obj_ivar_set): call to_str for string only once. 2013-04-08 03:05:15 +00:00
test_objectspace.rb test_objectspace.rb: run test_each_object separately 2013-05-20 02:22:35 +00:00
test_optimization.rb * insns.def: add new instruction `opt_empty_p' for optimize `empty?' 2012-09-26 09:34:46 +00:00
test_pack.rb * pack.c (pack_unpack): output characters even if the input doesn't 2013-04-18 05:03:00 +00:00
test_parse.rb parse.y: invalid name as mere string 2013-05-10 14:56:40 +00:00
test_path.rb * file.c (rb_file_join): honor input encodings than ASCII-8BIT. 2011-10-26 06:24:29 +00:00
test_pipe.rb
test_primitive.rb
test_proc.rb proc.c: frozen core methods 2013-04-30 03:31:43 +00:00
test_process.rb * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now 2013-05-02 03:34:15 +00:00
test_rand.rb random.c: increase limit for generic rand 2013-02-24 06:33:49 +00:00
test_range.rb test_range.rb: refine message 2013-02-05 04:45:23 +00:00
test_rational.rb * rational.c (nurat_expt): Deal with special cases for rationals 0, ±1 2013-02-05 05:39:33 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb vm_insnhelper.c: compare with me in method top cfp 2013-02-24 04:36:00 +00:00
test_regexp.rb * test/ruby/test_regexp.rb: use require_relative to require local library 2013-04-11 13:22:58 +00:00
test_require.rb * test/csv/test_features.rb, test/logger/test_logger.rb 2013-04-20 23:03:52 +00:00
test_rubyoptions.rb Specify --disable-gems 2013-04-22 02:59:12 +00:00
test_settracefunc.rb * proc.c (rb_binding_new_with_cfp): create binding object even if 2013-02-16 06:51:17 +00:00
test_signal.rb thread.c: fix deadlock 2013-03-21 14:17:10 +00:00
test_sleep.rb Cent OS 5.6 wakes up in 4.989596sec from sleep(5). 2012-04-24 12:17:02 +00:00
test_sprintf.rb * parse.y (rb_check_id_cstr): new function to check if ID is 2012-04-11 13:31:23 +00:00
test_sprintf_comb.rb
test_string.rb * string.c (rb_str_inspect): refix r40413, on Ruby 1.9 usual character 2013-04-23 12:24:56 +00:00
test_stringchar.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_struct.rb * struct.c (make_struct): remove junk ID check to allow members who 2012-12-22 02:52:48 +00:00
test_super.rb compile.c: zsuper keyword args 2013-03-07 05:21:40 +00:00
test_symbol.rb parse.y: disallow $- 2013-04-24 05:04:01 +00:00
test_syntax.rb test_syntax.rb: split test_syntax 2013-04-27 00:02:21 +00:00
test_system.rb test_system.rb: commit miss 2013-01-27 13:13:12 +00:00
test_thread.rb * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now 2013-05-02 03:34:15 +00:00
test_threadgroup.rb * test/ruby/test_thread.rb (test_uninitialized, test_backtrace, 2012-12-14 23:11:36 +00:00
test_time.rb * time.c (num_exact): use to_r method only if to_int method is 2013-03-27 11:37:59 +00:00
test_time_tz.rb Add freebsd to force_tz_test 2012-12-07 02:55:33 +00:00
test_trace.rb
test_transcode.rb Suppress warnings: setting Encoding.default_internal 2013-06-02 14:46:43 +00:00
test_undef.rb
test_unicode_escape.rb test_unicode_escape.rb: set script encoding 2012-09-29 11:18:57 +00:00
test_variable.rb * insns.def (defined): fix to checking class variable. 2011-08-24 00:52:04 +00:00
test_whileuntil.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_yield.rb * vm_insnhelper.c (vm_yield_setup_block_args): partially revert r41019. 2013-06-02 18:44:33 +00:00
ut_eof.rb