Pattern: Missing use of assert_empty
for literal
Issue: -
Enforces the test to use assert_empty
instead of using
assert_equal([], object)
or assert_equal({}, object)
.
# bad
assert_equal([], object)
assert_equal({}, object)
# good
assert_empty(object)