Skip to content

Commit

Permalink
fixup! [Fix #117] Add new Minitest/AssertWithTwoArguments cop
Browse files Browse the repository at this point in the history
  • Loading branch information
cstyles committed Feb 21, 2021
1 parent 0db8efb commit c11c324
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_minitest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ assert(actual, 'message')
|===

This cop tries to detect when a user accidentally used
`assert` when they meant to use `assert_equal`
`assert` when they meant to use `assert_equal`.

=== Examples

Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/minitest/assert_with_two_arguments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module Cop
module Minitest
# This cop tries to detect when a user accidentally used
# `assert` when they meant to use `assert_equal`
# `assert` when they meant to use `assert_equal`.
#
# @example
# # bad
Expand Down

0 comments on commit c11c324

Please sign in to comment.