From d0f85aa0a53a2a4ba2e23b2f4ea912eda3f8bdea Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sun, 17 Mar 2024 15:42:12 +0100 Subject: [PATCH] Autocorrect Minitest/AssertKindOf offenses --- test/full/replace_eval_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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