lib/rubocop/cop/minitest/assert_path_exists.rb in rubocop-minitest-0.19.1 vs lib/rubocop/cop/minitest/assert_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 `assert_path_exists`
- # instead of using `assert(File.exist?(path))`.
+ # Enforces the test to use `assert_path_exists` instead of using `assert(File.exist?(path))`.
#
# @example
# # bad
# assert(File.exist?(path))
# assert(File.exist?(path), 'message')