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
Jeremy Evans 878af5147d Implement Proc#== and #eql?
Previously, these were not implemented, and Object#== and #eql?
were used.  This tries to check the proc internals to make sure
that procs created from separate blocks are treated as not equal,
but procs created from the same block are treated as equal, even
when the lazy proc allocation optimization is used.

Implements [Feature #14267]
2020-06-19 12:58:25 -07:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb
test_assignment.rb
test_ast.rb
test_autoload.rb
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb Dup splat array in certain cases where there is a block argument 2020-06-18 08:19:33 -07:00
test_case.rb
test_class.rb
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_default_gems.rb
test_defined.rb Properly resolve refinements in defined? on private call [Bug #16932] 2020-06-04 02:12:57 +09:00
test_dir.rb
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb
test_enumerator.rb
test_env.rb Add Hash#except ENV#except [Feature #15822] 2020-06-18 22:47:32 +09:00
test_eval.rb
test_exception.rb
test_fiber.rb
test_file.rb
test_file_exhaustive.rb
test_fixnum.rb
test_flip.rb
test_float.rb
test_fnmatch.rb
test_frozen_error.rb
test_gc.rb prevent memory allocation for GC tests 2020-06-12 17:32:49 +09:00
test_gc_compact.rb
test_hash.rb Add Hash#except ENV#except [Feature #15822] 2020-06-18 22:47:32 +09:00
test_ifunless.rb
test_inlinecache.rb
test_integer.rb
test_integer_comb.rb
test_io.rb
test_io_m17n.rb
test_iseq.rb
test_iterator.rb Warn when passing a non-literal block to Kernel#lambda 2020-06-11 07:30:48 -07:00
test_jit.rb Remove obsoleted opt_call_c_function insn (#3232) 2020-06-17 09:16:01 -07:00
test_jit_debug.rb
test_key_error.rb
test_keyword.rb
test_lambda.rb Warn when passing a non-literal block to Kernel#lambda 2020-06-11 07:30:48 -07:00
test_lazy_enumerator.rb
test_literal.rb
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb
test_math.rb
test_metaclass.rb
test_method.rb Work around infinite loop when overriding method visibility in prepended module (#3201) 2020-06-09 16:30:55 -07:00
test_mixed_unicode_escapes.rb
test_module.rb Make Module#prepend affect the iclasses of the module 2020-06-18 08:18:31 -07:00
test_name_error.rb
test_nomethod_error.rb Make test for no method error more reliable 2020-06-06 13:48:24 -04:00
test_not.rb
test_numeric.rb
test_object.rb
test_objectspace.rb Check argument to ObjectSpace._id2ref 2020-06-16 18:25:35 +09:00
test_optimization.rb disable GC on a test 2020-06-09 15:52:25 +09:00
test_pack.rb
test_parse.rb
test_path.rb
test_pattern_matching.rb Introduce find pattern [Feature #16828] 2020-06-14 09:24:36 +09:00
test_pipe.rb
test_primitive.rb
test_proc.rb Implement Proc#== and #eql? 2020-06-19 12:58:25 -07:00
test_process.rb
test_rand.rb
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb test/ruby/test_refinement.rb: suppress warning yb $VEROBSE = nil 2020-06-19 10:45:13 +09:00
test_regexp.rb
test_require.rb
test_require_lib.rb
test_rubyoptions.rb
test_rubyvm.rb
test_rubyvm_mjit.rb
test_settracefunc.rb
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_stack.rb
test_string.rb
test_stringchar.rb
test_struct.rb
test_super.rb
test_symbol.rb
test_syntax.rb Differentiate ... in lambda arguments 2020-06-07 18:44:07 +09:00
test_system.rb
test_thread.rb
test_thread_cv.rb
test_thread_queue.rb
test_threadgroup.rb
test_time.rb
test_time_tz.rb
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb Raise RuntimeError for class variable overtaken in nonverbose mode 2020-06-18 08:21:29 -07:00
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb