Minitest/GlobalExpectations
cop does not find offenses for must_be_nil
and wont_be_nil
expectations
#75
Labels
bug
Something isn't working
Expected behavior
Minitest/GlobalExpectations
cop does not find offenses forwont_be_nil
andmust_be_nil
as implemented at https://github.com/rubocop-hq/rubocop-minitest/blob/b6df77ea23fc633fb5fcdd6230101d5e1464b943/lib/rubocop/cop/minitest/global_expectations.rb#L25 and https://github.com/rubocop-hq/rubocop-minitest/blob/b6df77ea23fc633fb5fcdd6230101d5e1464b943/lib/rubocop/cop/minitest/global_expectations.rb#L28Actual behavior
Minitest/GlobalExpectations
finds offenses for andmust_be_nil
andwont_be_nil
.Steps to reproduce the problem
rep.rb
to reproducerep.rb
and shows 3 deprecated warnings as expectedmust_equal
is found. This one just proves RuboCop minitest is working.RuboCop version
The text was updated successfully, but these errors were encountered: