Open vlad-pisanov opened 3 months ago
Thought: should Minitest/AssertIncludes, Minitest/RefuteIncludes also detect common aliases of include?? Maybe via an option?
Minitest/AssertIncludes
Minitest/RefuteIncludes
include?
# bad assert hash.include?(:foo) # currently supported ✔️ assert hash.key?(:foo) assert hash.has_key?(:foo) assert hash.member?(:foo) # good assert_includes hash, :foo
Thought: should
Minitest/AssertIncludes
,Minitest/RefuteIncludes
also detect common aliases ofinclude?
? Maybe via an option?