-
Benoit Daloze authored
* Without the change the new test fails like this: Failure: ActiveModel::Type::RegistryTest#test_a_class_can_be_registered_for_a_symbol [test/cases/type/registry_test.rb:16]: Expected: [{}, {}] Actual: [nil, nil] * (*args, **kwargs)-delegation is not correct on Ruby 2.7 unless the target always accepts keyword arguments (not the case for `Array.new`). See https://eregon.me/blog/2021/02/13/correct-delegation-in-ruby-2-27-3.html
Benoit Daloze authored* Without the change the new test fails like this: Failure: ActiveModel::Type::RegistryTest#test_a_class_can_be_registered_for_a_symbol [test/cases/type/registry_test.rb:16]: Expected: [{}, {}] Actual: [nil, nil] * (*args, **kwargs)-delegation is not correct on Ruby 2.7 unless the target always accepts keyword arguments (not the case for `Array.new`). See https://eregon.me/blog/2021/02/13/correct-delegation-in-ruby-2-27-3.html
Loading