lib/rubocop/cop/minitest/unspecified_exception.rb in rubocop-minitest-0.19.1 vs lib/rubocop/cop/minitest/unspecified_exception.rb in rubocop-minitest-0.20.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Minitest
- # This cop checks for a specified error in `assert_raises`.
+ # Checks for a specified error in `assert_raises`.
#
# @example
# # bad
# assert_raises { raise FooException }
# assert_raises('This should have raised') { raise FooException }