diff --git a/live_ast.gemspec b/live_ast.gemspec index 127fa71..cb67881 100644 --- a/live_ast.gemspec +++ b/live_ast.gemspec @@ -39,7 +39,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rake-manifest", "~> 0.2.0" spec.add_development_dependency "rubocop", "~> 1.51" - spec.add_development_dependency "rubocop-minitest", "~> 0.34.2" + spec.add_development_dependency "rubocop-minitest", "~> 0.35.0" spec.add_development_dependency "rubocop-packaging", "~> 0.5.2" spec.add_development_dependency "rubocop-performance", "~> 1.20" spec.add_development_dependency "rubocop-rake", "~> 0.6.0" diff --git a/test/full/replace_eval_test.rb b/test/full/replace_eval_test.rb index b8652ca..be07e62 100644 --- a/test/full/replace_eval_test.rb +++ b/test/full/replace_eval_test.rb @@ -329,7 +329,7 @@ def test_module_eval_binding RUBY assert_equal 33, orig.new.value - assert orig.new.f.is_a?(Proc) + assert_kind_of Proc, orig.new.f y = 44 ignore(y) @@ -344,7 +344,7 @@ def test_module_eval_binding RUBY assert_equal 44, live.new.value - assert live.new.g.is_a?(Proc) + assert_kind_of Proc, live.new.g assert_equal no_arg_block(:lambda, "g return"), live.new.g.to_ast