lib/rubocop/cop/minitest/refute_path_exists.rb in rubocop-minitest-0.19.1 vs lib/rubocop/cop/minitest/refute_path_exists.rb in rubocop-minitest-0.20.0
- old
+ new
@@ -1,11 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Minitest
- # This cop enforces the test to use `refute_path_exists`
- # instead of using `refute(File.exist?(path))`.
+ # Enforces the test to use `refute_path_exists` instead of using `refute(File.exist?(path))`.
#
# @example
# # bad
# refute(File.exist?(path))
# refute(File.exist?(path), 'message')