rubocop-minitest 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +5 -1
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +69 -52
- data/CONTRIBUTING.md +3 -3
- data/Gemfile +2 -2
- data/README.md +4 -4
- data/Rakefile +1 -1
- data/bin/console +2 -0
- data/config/default.yml +9 -4
- data/docs/antora.yml +1 -1
- data/docs/modules/ROOT/pages/cops.adoc +1 -0
- data/docs/modules/ROOT/pages/cops_minitest.adoc +36 -7
- data/docs/modules/ROOT/pages/index.adoc +1 -1
- data/legacy-docs/cops_minitest.md +16 -16
- data/legacy-docs/index.md +1 -1
- data/lib/rubocop/cop/minitest/assert_empty_literal.rb +9 -8
- data/lib/rubocop/cop/minitest/assert_in_delta.rb +2 -0
- data/lib/rubocop/cop/minitest/assert_nil.rb +1 -0
- data/lib/rubocop/cop/minitest/assert_path_exists.rb +1 -0
- data/lib/rubocop/cop/minitest/assert_truthy.rb +1 -0
- data/lib/rubocop/cop/minitest/assert_with_expected_argument.rb +38 -0
- data/lib/rubocop/cop/minitest/global_expectations.rb +2 -0
- data/lib/rubocop/cop/minitest/literal_as_actual_argument.rb +1 -0
- data/lib/rubocop/cop/minitest/refute_equal.rb +1 -0
- data/lib/rubocop/cop/minitest/refute_false.rb +1 -0
- data/lib/rubocop/cop/minitest/refute_in_delta.rb +2 -0
- data/lib/rubocop/cop/minitest/refute_nil.rb +1 -0
- data/lib/rubocop/cop/minitest/refute_path_exists.rb +1 -0
- data/lib/rubocop/cop/minitest/test_method_name.rb +1 -1
- data/lib/rubocop/cop/minitest_cops.rb +1 -0
- data/lib/rubocop/cop/mixin/minitest_cop_rule.rb +1 -0
- data/lib/rubocop/minitest/version.rb +1 -1
- data/mkdocs.yml +1 -1
- data/relnotes/v0.1.0.md +1 -1
- data/relnotes/v0.10.0.md +12 -12
- data/relnotes/v0.10.1.md +1 -1
- data/relnotes/v0.10.2.md +1 -1
- data/relnotes/v0.10.3.md +1 -1
- data/relnotes/v0.11.0.md +16 -0
- data/relnotes/v0.2.0.md +4 -4
- data/relnotes/v0.2.1.md +1 -1
- data/relnotes/v0.3.0.md +6 -6
- data/relnotes/v0.4.0.md +5 -5
- data/relnotes/v0.4.1.md +1 -1
- data/relnotes/v0.5.0.md +1 -1
- data/relnotes/v0.5.1.md +1 -1
- data/relnotes/v0.6.0.md +1 -1
- data/relnotes/v0.6.1.md +2 -2
- data/relnotes/v0.6.2.md +1 -1
- data/relnotes/v0.7.0.md +5 -5
- data/relnotes/v0.8.0.md +4 -4
- data/relnotes/v0.8.1.md +1 -1
- data/relnotes/v0.9.0.md +3 -3
- data/rubocop-minitest.gemspec +4 -4
- metadata +11 -9
@@ -1,5 +1,5 @@
|
|
1
1
|
= RuboCop Minitest
|
2
2
|
|
3
|
-
A https://github.com/rubocop
|
3
|
+
A https://github.com/rubocop/rubocop[RuboCop] extension focused on enforcing Minitest best practices and coding conventions.
|
4
4
|
|
5
5
|
It's based on the community-driven https://minitest.rubystyle.guide[Minitest style guide].
|
@@ -23,7 +23,7 @@ assert_empty(object, 'message')
|
|
23
23
|
|
24
24
|
### References
|
25
25
|
|
26
|
-
* [https://github.com/rubocop
|
26
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-empty](https://github.com/rubocop/minitest-style-guide#assert-empty)
|
27
27
|
|
28
28
|
## Minitest/AssertEmptyLiteral
|
29
29
|
|
@@ -66,7 +66,7 @@ assert_equal("rubocop-minitest", actual)
|
|
66
66
|
|
67
67
|
### References
|
68
68
|
|
69
|
-
* [https://github.com/rubocop
|
69
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-equal-arguments-order](https://github.com/rubocop/minitest-style-guide#assert-equal-arguments-order)
|
70
70
|
|
71
71
|
## Minitest/AssertIncludes
|
72
72
|
|
@@ -91,7 +91,7 @@ assert_includes(collection, object, 'message')
|
|
91
91
|
|
92
92
|
### References
|
93
93
|
|
94
|
-
* [https://github.com/rubocop
|
94
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-includes](https://github.com/rubocop/minitest-style-guide#assert-includes)
|
95
95
|
|
96
96
|
## Minitest/AssertInstanceOf
|
97
97
|
|
@@ -116,7 +116,7 @@ assert_instance_of(Class, object, 'message')
|
|
116
116
|
|
117
117
|
### References
|
118
118
|
|
119
|
-
* [https://github.com/rubocop
|
119
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-instance-of](https://github.com/rubocop/minitest-style-guide#assert-instance-of)
|
120
120
|
|
121
121
|
## Minitest/AssertMatch
|
122
122
|
|
@@ -141,7 +141,7 @@ assert_match(matcher, string, 'message')
|
|
141
141
|
|
142
142
|
### References
|
143
143
|
|
144
|
-
* [https://github.com/rubocop
|
144
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-match](https://github.com/rubocop/minitest-style-guide#assert-match)
|
145
145
|
|
146
146
|
## Minitest/AssertNil
|
147
147
|
|
@@ -166,7 +166,7 @@ assert_nil(actual, 'message')
|
|
166
166
|
|
167
167
|
### References
|
168
168
|
|
169
|
-
* [https://github.com/rubocop
|
169
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-nil](https://github.com/rubocop/minitest-style-guide#assert-nil)
|
170
170
|
|
171
171
|
## Minitest/AssertRespondTo
|
172
172
|
|
@@ -193,7 +193,7 @@ assert_respond_to(self, :do_something)
|
|
193
193
|
|
194
194
|
### References
|
195
195
|
|
196
|
-
* [https://github.com/rubocop
|
196
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-responds-to-method](https://github.com/rubocop/minitest-style-guide#assert-responds-to-method)
|
197
197
|
|
198
198
|
## Minitest/AssertTruthy
|
199
199
|
|
@@ -218,7 +218,7 @@ assert(actual, 'message')
|
|
218
218
|
|
219
219
|
### References
|
220
220
|
|
221
|
-
* [https://github.com/rubocop
|
221
|
+
* [https://github.com/rubocop/minitest-style-guide#assert-truthy](https://github.com/rubocop/minitest-style-guide#assert-truthy)
|
222
222
|
|
223
223
|
## Minitest/GlobalExpectations
|
224
224
|
|
@@ -266,7 +266,7 @@ refute_empty(object, 'message')
|
|
266
266
|
|
267
267
|
### References
|
268
268
|
|
269
|
-
* [https://github.com/rubocop
|
269
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-empty](https://github.com/rubocop/minitest-style-guide#refute-empty)
|
270
270
|
|
271
271
|
## Minitest/RefuteEqual
|
272
272
|
|
@@ -290,7 +290,7 @@ refute_equal("rubocop-minitest", actual)
|
|
290
290
|
|
291
291
|
### References
|
292
292
|
|
293
|
-
* [https://github.com/rubocop
|
293
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-equal](https://github.com/rubocop/minitest-style-guide#refute-equal)
|
294
294
|
|
295
295
|
## Minitest/RefuteFalse
|
296
296
|
|
@@ -318,7 +318,7 @@ refute(actual, 'message')
|
|
318
318
|
|
319
319
|
### References
|
320
320
|
|
321
|
-
* [https://github.com/rubocop
|
321
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-false](https://github.com/rubocop/minitest-style-guide#refute-false)
|
322
322
|
|
323
323
|
## Minitest/RefuteIncludes
|
324
324
|
|
@@ -343,7 +343,7 @@ refute_includes(collection, object, 'message')
|
|
343
343
|
|
344
344
|
### References
|
345
345
|
|
346
|
-
* [https://github.com/rubocop
|
346
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-includes](https://github.com/rubocop/minitest-style-guide#refute-includes)
|
347
347
|
|
348
348
|
## Minitest/RefuteInstanceOf
|
349
349
|
|
@@ -368,7 +368,7 @@ refute_instance_of(Class, object, 'message')
|
|
368
368
|
|
369
369
|
### References
|
370
370
|
|
371
|
-
* [https://github.com/rubocop
|
371
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-instance-of](https://github.com/rubocop/minitest-style-guide#refute-instance-of)
|
372
372
|
|
373
373
|
## Minitest/RefuteMatch
|
374
374
|
|
@@ -393,7 +393,7 @@ refute_match(matcher, string, 'message')
|
|
393
393
|
|
394
394
|
### References
|
395
395
|
|
396
|
-
* [https://github.com/rubocop
|
396
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-match](https://github.com/rubocop/minitest-style-guide#refute-match)
|
397
397
|
|
398
398
|
## Minitest/RefuteNil
|
399
399
|
|
@@ -418,7 +418,7 @@ refute_nil(actual, 'message')
|
|
418
418
|
|
419
419
|
### References
|
420
420
|
|
421
|
-
* [https://github.com/rubocop
|
421
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-nil](https://github.com/rubocop/minitest-style-guide#refute-nil)
|
422
422
|
|
423
423
|
## Minitest/RefuteRespondTo
|
424
424
|
|
@@ -445,4 +445,4 @@ refute_respond_to(self, :do_something)
|
|
445
445
|
|
446
446
|
### References
|
447
447
|
|
448
|
-
* [https://github.com/rubocop
|
448
|
+
* [https://github.com/rubocop/minitest-style-guide#refute-respond-to](https://github.com/rubocop/minitest-style-guide#refute-respond-to)
|
data/legacy-docs/index.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
A [RuboCop](https://github.com/rubocop
|
1
|
+
A [RuboCop](https://github.com/rubocop/rubocop) extension focused on enforcing Minitest best practices and coding conventions.
|
@@ -4,12 +4,12 @@ module RuboCop
|
|
4
4
|
module Cop
|
5
5
|
module Minitest
|
6
6
|
# This cop enforces the test to use `assert_empty`
|
7
|
-
# instead of using `
|
7
|
+
# instead of using `assert_equal([], object)`.
|
8
8
|
#
|
9
9
|
# @example
|
10
10
|
# # bad
|
11
|
-
#
|
12
|
-
#
|
11
|
+
# assert_equal([], object)
|
12
|
+
# assert_equal({}, object)
|
13
13
|
#
|
14
14
|
# # good
|
15
15
|
# assert_empty(object)
|
@@ -18,14 +18,15 @@ module RuboCop
|
|
18
18
|
include ArgumentRangeHelper
|
19
19
|
|
20
20
|
MSG = 'Prefer using `assert_empty(%<arguments>s)` over ' \
|
21
|
-
'`
|
21
|
+
'`assert_equal(%<literal>s, %<arguments>s)`.'
|
22
|
+
RESTRICT_ON_SEND = %i[assert_equal].freeze
|
22
23
|
|
23
|
-
def_node_matcher :
|
24
|
-
(send nil? :
|
24
|
+
def_node_matcher :assert_equal_with_empty_literal, <<~PATTERN
|
25
|
+
(send nil? :assert_equal ${hash array} $...)
|
25
26
|
PATTERN
|
26
27
|
|
27
28
|
def on_send(node)
|
28
|
-
|
29
|
+
assert_equal_with_empty_literal(node) do |literal, matchers|
|
29
30
|
return unless literal.values.empty?
|
30
31
|
|
31
32
|
args = matchers.map(&:source).join(', ')
|
@@ -36,7 +37,7 @@ module RuboCop
|
|
36
37
|
end
|
37
38
|
|
38
39
|
def autocorrect(node)
|
39
|
-
|
40
|
+
assert_equal_with_empty_literal(node) do |_literal, matchers|
|
40
41
|
object = matchers.first
|
41
42
|
|
42
43
|
lambda do |corrector|
|
@@ -20,6 +20,7 @@ module RuboCop
|
|
20
20
|
|
21
21
|
MSG = 'Prefer using `assert_nil(%<arguments>s)` over ' \
|
22
22
|
'`assert_equal(nil, %<arguments>s)`.'
|
23
|
+
RESTRICT_ON_SEND = %i[assert_equal].freeze
|
23
24
|
|
24
25
|
def_node_matcher :assert_equal_with_nil, <<~PATTERN
|
25
26
|
(send nil? :assert_equal nil $_ $...)
|
@@ -20,6 +20,7 @@ module RuboCop
|
|
20
20
|
|
21
21
|
MSG = 'Prefer using `assert(%<arguments>s)` over ' \
|
22
22
|
'`assert_equal(true, %<arguments>s)`.'
|
23
|
+
RESTRICT_ON_SEND = %i[assert_equal].freeze
|
23
24
|
|
24
25
|
def_node_matcher :assert_equal_with_truthy, <<~PATTERN
|
25
26
|
(send nil? :assert_equal true $_ $...)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module RuboCop
|
4
|
+
module Cop
|
5
|
+
module Minitest
|
6
|
+
# This cop tries to detect when a user accidentally used
|
7
|
+
# `assert` when they meant to use `assert_equal`.
|
8
|
+
#
|
9
|
+
# @example
|
10
|
+
# # bad
|
11
|
+
# assert(3, my_list.length)
|
12
|
+
# assert(expected, actual)
|
13
|
+
#
|
14
|
+
# # good
|
15
|
+
# assert_equal(3, my_list.length)
|
16
|
+
# assert_equal(expected, actual)
|
17
|
+
# assert(foo, 'message')
|
18
|
+
#
|
19
|
+
class AssertWithExpectedArgument < Cop
|
20
|
+
MSG = 'Did you mean to use `assert_equal(%<arguments>s)`?'
|
21
|
+
RESTRICT_ON_SEND = %i[assert].freeze
|
22
|
+
|
23
|
+
def_node_matcher :assert_with_two_arguments?, <<~PATTERN
|
24
|
+
(send nil? :assert $_ $_)
|
25
|
+
PATTERN
|
26
|
+
|
27
|
+
def on_send(node)
|
28
|
+
assert_with_two_arguments?(node) do |_expected, message|
|
29
|
+
return if message.str_type? || message.dstr_type?
|
30
|
+
|
31
|
+
arguments = node.arguments.map(&:source).join(', ')
|
32
|
+
add_offense(node, message: format(MSG, arguments: arguments))
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -19,6 +19,7 @@ module RuboCop
|
|
19
19
|
|
20
20
|
MSG = 'Prefer using `refute_equal(%<preferred>s)` over ' \
|
21
21
|
'`assert(%<over>s)`.'
|
22
|
+
RESTRICT_ON_SEND = %i[assert].freeze
|
22
23
|
|
23
24
|
def_node_matcher :assert_not_equal, <<~PATTERN
|
24
25
|
(send nil? :assert ${(send $_ :!= $_) (send (send $_ :! ) :== $_) } $... )
|
@@ -25,6 +25,7 @@ module RuboCop
|
|
25
25
|
'`assert_equal(false, %<arguments>s)`.'
|
26
26
|
MSG_FOR_ASSERT = 'Prefer using `refute(%<arguments>s)` over ' \
|
27
27
|
'`assert(!%<arguments>s)`.'
|
28
|
+
RESTRICT_ON_SEND = %i[assert_equal assert].freeze
|
28
29
|
|
29
30
|
def_node_matcher :assert_equal_with_false, <<~PATTERN
|
30
31
|
(send nil? :assert_equal false $_ $...)
|
@@ -20,6 +20,7 @@ module RuboCop
|
|
20
20
|
|
21
21
|
MSG = 'Prefer using `refute_nil(%<arguments>s)` over ' \
|
22
22
|
'`refute_equal(nil, %<arguments>s)`.'
|
23
|
+
RESTRICT_ON_SEND = %i[refute_equal].freeze
|
23
24
|
|
24
25
|
def_node_matcher :refute_equal_with_nil, <<~PATTERN
|
25
26
|
(send nil? :refute_equal nil $_ $...)
|
@@ -61,7 +61,7 @@ module RuboCop
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def offense?(node)
|
64
|
-
return false if node
|
64
|
+
return false if assertions(node).none?
|
65
65
|
|
66
66
|
public?(node) && node.arguments.empty? && !test_method_name?(node) && !lifecycle_hook_method?(node)
|
67
67
|
end
|
@@ -8,6 +8,7 @@ require_relative 'minitest/assert_empty'
|
|
8
8
|
require_relative 'minitest/assert_empty_literal'
|
9
9
|
require_relative 'minitest/assert_equal'
|
10
10
|
require_relative 'minitest/assert_in_delta'
|
11
|
+
require_relative 'minitest/assert_with_expected_argument'
|
11
12
|
require_relative 'minitest/assertion_in_lifecycle_hook'
|
12
13
|
require_relative 'minitest/assert_kind_of'
|
13
14
|
require_relative 'minitest/assert_nil'
|
@@ -29,6 +29,7 @@ module RuboCop
|
|
29
29
|
|
30
30
|
MSG = 'Prefer using `#{preferred_method}(%<new_arguments>s)` over ' \
|
31
31
|
'`#{assertion_method}(%<original_arguments>s)`.'
|
32
|
+
RESTRICT_ON_SEND = %i[#{assertion_method}].freeze
|
32
33
|
|
33
34
|
def on_send(node)
|
34
35
|
return unless node.method?(:#{assertion_method})
|
data/mkdocs.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
site_name: "A RuboCop extension focused on enforcing Minitest best practices and coding conventions."
|
2
|
-
repo_url: https://github.com/rubocop
|
2
|
+
repo_url: https://github.com/rubocop/rubocop-minitest
|
3
3
|
edit_uri: edit/master/legacy-docs/
|
4
4
|
copyright: "Copyright © 2021 Bozhidar Batsov, Jonas Arvidsson, Koichi ITO, and RuboCop contributors"
|
5
5
|
docs_dir: legacy-docs
|
data/relnotes/v0.1.0.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
### New features
|
2
2
|
|
3
3
|
* Create RuboCop Minitest gem. ([@koic][])
|
4
|
-
* [#6](https://github.com/rubocop
|
4
|
+
* [#6](https://github.com/rubocop/rubocop-minitest/pull/6): Add new `Minitest/AssertNil` cop. ([@duduribeiro ][])
|
5
5
|
|
6
6
|
[@koic]: https://github.com/koic
|
7
7
|
[@duduribeiro]: https://github.com/duduribeiro
|
data/relnotes/v0.10.0.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
### New features
|
2
2
|
|
3
|
-
* [#92](https://github.com/rubocop
|
4
|
-
* [#95](https://github.com/rubocop
|
5
|
-
* [#91](https://github.com/rubocop
|
6
|
-
* [#89](https://github.com/rubocop
|
7
|
-
* [#83](https://github.com/rubocop
|
8
|
-
* [#88](https://github.com/rubocop
|
9
|
-
* [#87](https://github.com/rubocop
|
10
|
-
* [#96](https://github.com/rubocop
|
11
|
-
* [#98](https://github.com/rubocop
|
12
|
-
* [#84](https://github.com/rubocop
|
13
|
-
* [#85](https://github.com/rubocop
|
3
|
+
* [#92](https://github.com/rubocop/rubocop-minitest/pull/92): Add new `Minitest/LiteralAsActualArgument` cop. ([@fatkodima][], [@tsmmark][])
|
4
|
+
* [#95](https://github.com/rubocop/rubocop-minitest/pull/95): Add new `Minitest/AssertionInLifecycleHook` cop. ([@fatkodima][])
|
5
|
+
* [#91](https://github.com/rubocop/rubocop-minitest/pull/91): Add new `Minitest/AssertInDelta` and `Minitest/RefuteInDelta` cops. ([@fatkodima][])
|
6
|
+
* [#89](https://github.com/rubocop/rubocop-minitest/pull/89): Add new `Minitest/TestMethodName` cop. ([@fatkodima][])
|
7
|
+
* [#83](https://github.com/rubocop/rubocop-minitest/pull/83): New cops `AssertPathExists` and `RefutePathExists` check for use of `assert_path_exists`/`refute_path_exists` instead of `assert(File.exist?(path))`/`refute(File.exist?(path))`. ([@fatkodima][])
|
8
|
+
* [#88](https://github.com/rubocop/rubocop-minitest/pull/88): Add new `Minitest/MultipleAssertions` cop. ([@fatkodima][])
|
9
|
+
* [#87](https://github.com/rubocop/rubocop-minitest/pull/87): Add new `Minitest/AssertSilent` cop. ([@fatkodima][])
|
10
|
+
* [#96](https://github.com/rubocop/rubocop-minitest/pull/96): Add new `Minitest/UnspecifiedException` cop. ([@fatkodima][])
|
11
|
+
* [#98](https://github.com/rubocop/rubocop-minitest/pull/98): Add new `Minitest/AssertOutput` cop. ([@fatkodima][])
|
12
|
+
* [#84](https://github.com/rubocop/rubocop-minitest/pull/84): New cops `AssertKindOf` and `RefuteKindOf` check for use of `assert_kind_of`/`refute_kind_of` instead of `assert(foo.kind_of?(Class))`/`refute(foo.kind_of?(Class))`. ([@fatkodima][])
|
13
|
+
* [#85](https://github.com/rubocop/rubocop-minitest/pull/85): Add autocorrect to `Rails/AssertEmptyLiteral` cop. ([@fatkodima][])
|
14
14
|
|
15
15
|
### Changes
|
16
16
|
|
17
|
-
* [#104](https://github.com/rubocop
|
17
|
+
* [#104](https://github.com/rubocop/rubocop-minitest/pull/104): Require RuboCop 0.87 or higher. ([@koic][])
|
18
18
|
|
19
19
|
[@fatkodima]: https://github.com/fatkodima
|
20
20
|
[@tsmmark]: https://github.com/tsmmark
|
data/relnotes/v0.10.1.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
### Bug fixes
|
2
2
|
|
3
|
-
* [#106](https://github.com/rubocop
|
3
|
+
* [#106](https://github.com/rubocop/rubocop-minitest/issues/106): Fix an error for `Minitest/AssertOutput` when using gvar at top level. ([@koic][])
|
4
4
|
|
5
5
|
[@koic]: https://github.com/koic
|
data/relnotes/v0.10.2.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
### Bug fixes
|
2
2
|
|
3
|
-
* [#113](https://github.com/rubocop
|
3
|
+
* [#113](https://github.com/rubocop/rubocop-minitest/issues/113): This PR fixes an error for `Minitest/AssertEqual` and some cops when using `assert` with block argument. ([@koic][])
|
4
4
|
|
5
5
|
[@koic]: https://github.com/koic
|
data/relnotes/v0.10.3.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
### Bug fixes
|
2
2
|
|
3
|
-
* [#115](https://github.com/rubocop
|
3
|
+
* [#115](https://github.com/rubocop/rubocop-minitest/issues/115): Fix a false positive for `Minitest/TestMethodName` for when defining test method has an argument, and test method without assertion methods. ([@koic][])
|
4
4
|
|
5
5
|
[@koic]: https://github.com/koic
|