1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/proc
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
..
fixtures Suppress warnings [Feature #15973] 2020-06-13 22:57:31 +09:00
shared Implement Proc#== and #eql? 2020-06-19 12:58:25 -07:00
allocate_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
arity_spec.rb
binding_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
block_pass_spec.rb
call_spec.rb
case_compare_spec.rb
clone_spec.rb
compose_spec.rb Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
curry_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
dup_spec.rb
element_reference_spec.rb
eql_spec.rb Implement Proc#== and #eql? 2020-06-19 12:58:25 -07:00
equal_value_spec.rb Implement Proc#== and #eql? 2020-06-19 12:58:25 -07:00
hash_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
inspect_spec.rb
lambda_spec.rb Suppress warnings [Feature #15973] 2020-06-13 22:57:31 +09:00
new_spec.rb Make proc/Proc.new without block an error instead of warning 2020-06-10 17:49:54 -07:00
parameters_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
source_location_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
to_proc_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
to_s_spec.rb
yield_spec.rb