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/eql_spec.rb

13 lines
259 B
Ruby
Raw Normal View History

require_relative '../../spec_helper'
require_relative 'shared/equal'
describe "Proc#eql?" do
2020-09-15 15:54:31 -04:00
ruby_version_is "0"..."3.0" do
it_behaves_like :proc_equal_undefined, :eql?
end
2020-09-15 15:54:31 -04:00
ruby_version_is "3.0" do
it_behaves_like :proc_equal, :eql?
end
end