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
mrkn b30d203fed * rational.c (nurat_coerce): Rational#coerce should converts itself
into Complex if the argument is a Complex with non-zero imaginary
  part.  [Bug #5020] [ruby-dev:44088]
* test/ruby/test_rational.rb (test_coerce): test for the above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-17 01:24:22 +00:00
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb * configure.in (rubygems): add --disable-rubygems option. 2011-02-11 03:03:26 +00:00
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb * util.c, include/ruby/util.h (ruby_add_suffix): remove the function. 2011-08-03 07:10:56 +00:00
test_array.rb * array.c (ary_reject_bang): should not remove elements which are 2011-07-03 04:44:53 +00:00
test_assignment.rb
test_autoload.rb * test/ruby/test_autoload.rb: remove temporary directory. 2011-06-14 10:51:25 +00:00
test_basicinstructions.rb
test_beginendblock.rb * eval_jump.c (rb_exec_end_proc): changed at_exit and END proc 2011-02-16 11:42:03 +00:00
test_bignum.rb
test_call.rb
test_case.rb * compile.c (case_when_optimizable_literal): When float value can be 2010-09-09 13:40:14 +00:00
test_class.rb * compile.c (NODE_CLASS, NODE_MODULE), insns.def (defineclass): raise 2011-01-28 17:57:34 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * complex.c (nucomp_rationalize): calls rationalize of real part if 2011-08-10 10:35:08 +00:00
test_complex2.rb * test/ruby/test_{complex2,complexrational}.rb: use skip. 2011-05-08 13:18:47 +00:00
test_complexrational.rb * test/ruby/test_{complex2,complexrational}.rb: use skip. 2011-05-08 13:18:47 +00:00
test_condition.rb
test_const.rb
test_continuation.rb * thread.c (set_trace_func, thread_set_trace_func_m): reset tracing 2011-07-21 11:09:52 +00:00
test_defined.rb * vm_insnhelper.h (COPY_CREF): should copy 2011-03-30 05:38:50 +00:00
test_dir.rb
test_dir_m17n.rb * test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently on 2011-03-25 02:50:17 +00:00
test_econv.rb * io.c (validate_enc_binmode, rb_io_extract_modeenc): set newline 2011-04-26 15:55:21 +00:00
test_encoding.rb * encoding.c (enc_find): mistakenly remained !. [Bug #5150] 2011-08-02 22:46:34 +00:00
test_enum.rb add a test. 2011-01-01 01:52:15 +00:00
test_enumerator.rb
test_env.rb try and catch for the test of setenv(3). 2011-05-29 16:49:14 +00:00
test_eval.rb * vm_insnhelper.c (vm_cref_push): no outer cref is needed for proc 2010-09-23 00:01:40 +00:00
test_exception.rb * error.c (syserr_initialize): set the encoding of Errno::*#message 2010-10-11 05:15:03 +00:00
test_fiber.rb * cont.c (cont_init): clear macihne_stack_start/end of saved thread to 2011-05-15 12:41:40 +00:00
test_file.rb
test_file_exhaustive.rb * test/ruby/test_file_exhaustive.rb (TestFileExhaustive::test_expand_path): 2010-09-16 06:03:13 +00:00
test_fixnum.rb
test_float.rb * numeric.c (flo_round): fix for negative value. 2011-05-29 06:09:08 +00:00
test_fnmatch.rb
test_gc.rb * vm.c (vm_define_method): guard iseq from GC while method definition. 2010-12-30 14:17:32 +00:00
test_hash.rb * hash.c (recursive_hash): hash value of emptied hash should be 2011-08-02 03:03:18 +00:00
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb * io.c (rb_io_each_byte): rbuf can be refreshed during yield. 2011-07-30 14:14:46 +00:00
test_io_m17n.rb * io.c (io_getc): should be 7bit if ascii. fixes #4557 2011-06-11 09:02:11 +00:00
test_iterator.rb
test_lambda.rb * compile.c (setup_args), vm.c (invoke_block_from_c), 2010-12-20 21:10:24 +00:00
test_literal.rb * parse.y (regexp): dregexp has literal string only at the head 2010-10-04 03:43:50 +00:00
test_m17n.rb * numeric.c (rb_enc_uint_chr): fix message format. Bug#4869 2011-06-11 07:52:34 +00:00
test_m17n_comb.rb * encoding.c (rb_enc_compatible): change the rule for empty strings: 2011-02-15 07:08:15 +00:00
test_marshal.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_math.rb * math.c (math_atan2): change the behavior when x and y are zero. 2010-08-27 03:51:56 +00:00
test_metaclass.rb
test_method.rb * vm_insnhelper.c (vm_search_superclass): avoid control frame 2011-06-25 15:05:37 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * eval_error.c (rb_print_undef_str): new function to raise 2011-07-26 16:05:35 +00:00
test_notimp.rb * lib/test/unit.rb (assert_include): add alias. 2011-02-12 14:17:54 +00:00
test_numeric.rb * numeric.c (ruby_float_step): fix Numeric#step with infinity unit 2010-10-13 19:17:49 +00:00
test_object.rb * test/ruby/test_object.rb: tests that respond_to? returns false. 2011-08-05 06:55:36 +00:00
test_objectspace.rb
test_optimization.rb * vm.c (rb_thread_mark): should mark self in conrol 2010-11-23 09:54:07 +00:00
test_pack.rb * lib/test/unit.rb (assert_include): add alias. 2011-02-12 14:17:54 +00:00
test_parse.rb
test_path.rb * file.c (rb_get_path_check): clarify error message for 2010-08-29 14:25:23 +00:00
test_pipe.rb
test_primitive.rb
test_proc.rb * vm_eval.c (check_funcall): try respond_to? first if redefined. 2011-08-05 03:18:25 +00:00
test_process.rb * test/ruby/test_process.rb (TestProcess#windows?): new method. 2011-08-01 11:23:44 +00:00
test_rand.rb * test/ruby/test_rand.rb (test_random_bytes): fold mysteriously 2011-06-30 11:35:04 +00:00
test_range.rb * range.c (range_max): fix behavior with excluded end value. 2011-07-10 00:47:31 +00:00
test_rational.rb * rational.c (nurat_coerce): Rational#coerce should converts itself 2011-08-17 01:24:22 +00:00
test_rational2.rb
test_readpartial.rb
test_regexp.rb * re.c (Init_Regexp): added a constant for ARG_ENCODING_NONE 2011-02-02 22:18:14 +00:00
test_require.rb * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255. 2011-05-22 12:52:18 +00:00
test_rubyoptions.rb * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name): 2011-06-07 09:16:02 +00:00
test_settracefunc.rb * vm_insnhelper.c (vm_call_bmethod): fix to hook call/return event 2011-06-30 13:34:53 +00:00
test_signal.rb * signal.c (reserved_signal_p): reverted a part of r32523. 2011-07-12 11:04:58 +00:00
test_sleep.rb
test_sprintf.rb * vsnprintf.c (BSD_vfprintf): don't output floating point 2010-11-22 16:06:38 +00:00
test_sprintf_comb.rb Revert "* sprintf.c (rb_str_format): fix: sprintf with hex format and" 2010-10-15 08:31:58 +00:00
test_string.rb cancel subversion backfire. sorry 2011-03-07 08:44:45 +00:00
test_stringchar.rb * string.c (rb_str_dump): fix expected length. [ruby-core:32935] 2010-10-28 18:04:23 +00:00
test_struct.rb * error.c (rb_check_trusted): new function to check an object is 2011-07-17 07:26:45 +00:00
test_super.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_symbol.rb * parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136] 2011-08-02 02:42:17 +00:00
test_syntax.rb * test/ruby/test_syntax.rb (TestSyntax#test_syntax): show script name 2011-06-01 06:41:33 +00:00
test_system.rb cancel subversion backfire. sorry 2011-03-07 08:44:45 +00:00
test_thread.rb * vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208] 2011-07-31 02:32:48 +00:00
test_time.rb * time.c (rb_strftime_alloc): raise ERANGE if width is too large. 2011-08-07 14:38:17 +00:00
test_time_tz.rb
test_trace.rb * thread.c (ruby_suppress_tracing): restore the state and invoke 2010-09-01 03:56:39 +00:00
test_transcode.rb * test/ruby/test_transcode.rb (TestTranscode#test_Big5_Hkscs): fix 2011-06-10 04:02:11 +00:00
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb