Code style checking for Minitest files.
Minitest/AssertEmptyLiteral
when only passing an empty literal. (@earlopain)Style/UselessAssertion
when passing a single argument to methods to accept two arguments. (@earlopain)Minitest/AssertKindOf
to also correct assert(object.is_a?(Class))
. (@amomchilov)Minitest/RedundantMessageArgument
cop. (@koic)Minitest/NonExecutableTestMethod
cop. (@koic)Minitest/AssertMatch
aware of assert_operator
when running with Ruby 2.7. (@koic)Minitest/EmptyLineBeforeAssertionMethods
and assert_raises
. (@fatkodima)AssertSame
/RefuteSame
to check for object_id
comparison. (@fatkodima)Minitest/AssertEqual
aware of assert_operator
. (@koic)Minitest/AssertMatch
aware of assert_operator
. (@koic)Minitest/RefuteEqual
aware of assert_operator
and refute_operator
. (@koic)Minitest/RefuteMatch
aware of refute_operator
and assert_operator
. (@koic)Minitest/AssertOperator
and Minitest/RefuteOperator
when using unary operation argument. (@koic)Minitest/AssertOperator
and Minitest/RefuteOperator
allow index access with []
. (@flavorjones)