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
marcandre ca7f52a32a * enumerator.c: Allow Enumerator size argument to be any callable.
Patch by Avdi Grimm. [bug #8641] [ruby-core:56032] [fix GH-362]

* test/ruby/test_enumerator.rb: Test for above

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-27 02:50:08 +00:00
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb envutil.rb: encoding 2013-07-25 20:54:54 +00:00
lbtest.rb
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 * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
test_argf.rb Specify external_encoding 2013-03-30 17:07:32 +00:00
test_arity.rb
test_array.rb random.c: coerce before check negative 2013-08-13 13:13:02 +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/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError. 2013-06-10 13:28:58 +00:00
test_bignum.rb * bignum.c (power_cache_get_power): Appry bigtrunc to the result of 2013-08-02 14:53:22 +00:00
test_call.rb
test_case.rb
test_class.rb object.c: undef Module#prepend_features on Class 2013-08-13 12:52:25 +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_defined.rb * test/ruby/test_defined.rb (TestDefined#test_super_toplevel): 2013-05-05 10:02:41 +00:00
test_dir.rb file.c: split rb_home_dir 2013-07-25 04:06:50 +00:00
test_dir_m17n.rb test_dir_m17n.rb: fixed encoding file system on OS X 2013-08-14 00:10:58 +00:00
test_econv.rb test_econv.rb: assert_separately 2013-08-05 08:32:49 +00:00
test_encoding.rb * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +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: Allow Enumerator size argument to be any callable. 2013-08-27 02:50:08 +00:00
test_env.rb hash.c: key name in error message 2013-07-17 08:12:25 +00:00
test_eval.rb parse.y, vm_eval.c: file encoding in eval 2013-07-29 08:00:34 +00:00
test_exception.rb * vm_insnhelper.c (vm_push_frame): fix stack overflow check codes. 2013-08-06 08:33:05 +00:00
test_fiber.rb * test/ruby/test_fiber.rb: collect garbage fibers immediately. 2013-08-19 08:44:50 +00:00
test_file.rb * file.c (rb_file_size, rb_file_flock): improve parformance of Winodws. 2013-08-16 02:26:28 +00:00
test_file_exhaustive.rb skip if ENV['USER'] is nil 2013-07-30 01:02:45 +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/ruby/test_hash.rb: add a test for enumeration order of Hash. 2013-07-30 13:25:40 +00:00
test_ifunless.rb
test_integer.rb * include/ruby/intern.h: add the prototype declaration of 2012-12-22 15:06:22 +00:00
test_integer_comb.rb * numeric.c (fix_mul): remove FIT_SQRT_LONG test as it was causing 2013-06-28 16:09:08 +00:00
test_io.rb * io.c (io_read_nonblock): support non-blocking reads without raising 2013-08-26 22:41:44 +00:00
test_io_m17n.rb io.c: fix 7bit coderange condition 2013-06-12 03:44:48 +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
test_keyword.rb compile.c: not simple if keyword args 2013-06-01 08:25:05 +00:00
test_lambda.rb * vm_insnhelper.c (vm_invoke_block): returning from lambda proc 2013-08-09 01:49:38 +00:00
test_lazy_enumerator.rb enumerator.c: fix non-single argument 2013-08-08 15:10:37 +00:00
test_literal.rb * compile.c (compile_array_): refix r37991 remove assertion: 2012-11-29 17:35:29 +00:00
test_m17n.rb Add a test for r42162 2013-07-25 07:24:12 +00:00
test_m17n_comb.rb rename a() to b() and define a() for US-ASCII 2013-07-20 09:10:17 +00:00
test_marshal.rb * test/-ext-/test_printf.rb, test/rss/test_parser.rb, 2013-06-13 05:41:44 +00:00
test_math.rb
test_metaclass.rb
test_method.rb * object.c (rb_class_inherited_p): allow iclasses to be tested for 2013-08-05 01:02:22 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * proc.c (rb_mod_define_method): now they return the symbols of the 2013-08-14 05:35:21 +00:00
test_not.rb
test_notimp.rb get detailed ps data to debug 2013-08-14 10:16:33 +00:00
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 * test/-ext-/test_printf.rb, test/rss/test_parser.rb, 2013-06-13 05:41:44 +00:00
test_objectspace.rb test_objectspace.rb: run test_each_object separately 2013-05-20 02:22:35 +00:00
test_optimization.rb
test_pack.rb * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
test_parse.rb Fix test failure to follow r42347 ref #3753 2013-08-03 07:57:34 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb * proc.c: add Binding#local_variable_get/set/defined? 2013-08-09 09:51:00 +00:00
test_process.rb * process.c (rb_clock_gettime): The emulated clock names changed. 2013-08-24 01:38:34 +00:00
test_rand.rb call GC.start before fork-related tests to decrease GC cost on fork children 2013-07-11 01:31:23 +00:00
test_range.rb test_range.rb: remove invalid assertions 2013-08-08 05:35:08 +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_eval.c (eval_string_with_cref): copy cref to limit the scope of 2013-08-06 07:15:18 +00:00
test_regexp.rb * insns.def: fix regexp's once option behavior. 2013-08-20 17:41:13 +00:00
test_require.rb file.c: OSX path encoding 2013-08-11 14:27:04 +00:00
test_rubyoptions.rb Add Process.argv0. 2013-08-07 14:12:08 +00:00
test_settracefunc.rb * compile.c (rb_iseq_compile_node): fix location of a `trace' 2013-06-14 09:54:58 +00:00
test_signal.rb test_signal.rb: use standard fds 2013-06-19 15:57:14 +00:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb test_string.rb: Bug #8642 2013-07-16 09:45:00 +00:00
test_stringchar.rb
test_struct.rb parse.y: non-local/const attrset 2013-08-11 06:11:17 +00:00
test_super.rb compile.c: zsuper keyword args 2013-03-07 05:21:40 +00:00
test_symbol.rb test_symbol.rb: fix test 2013-06-18 13:08:00 +00:00
test_syntax.rb parse.y: warn CR 2013-08-26 07:25:08 +00:00
test_system.rb test_system.rb: commit miss 2013-01-27 13:13:12 +00:00
test_thread.rb * variable.c, vm_method.c: remove dead code. 2013-08-18 11:27:42 +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 * test/ruby/test_time.rb: use the in_timezone() helper 2013-08-17 14:25:34 +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/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): this 2013-07-05 11:50:31 +00:00
test_variable.rb
test_whileuntil.rb
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