Module: RuboCop::Cop::Minitest::NilAssertionHandleable Private

Included in:
AssertNil, RefuteNil
Defined in:
lib/rubocop/cop/mixin/nil_assertion_handleable.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Common functionality for ‘AssertNil` and `RefuteNil` cops.

Constant Summary collapse

MSG =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'Prefer using `%<assertion_type>s_nil(%<preferred_args>s)`.'