File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ expect(object).to be_a_kind_of(String)
632
632
Checks where `contain_exactly` is used.
633
633
634
634
This cop checks for the following:
635
+
635
636
- Prefer `match_array` when matching array values.
636
637
- Prefer `be_empty` when using `contain_exactly` with no arguments.
637
638
@@ -3381,6 +3382,7 @@ end
3381
3382
Checks where `match_array` is used.
3382
3383
3383
3384
This cop checks for the following:
3385
+
3384
3386
- Prefer `contain_exactly` when matching an array with values.
3385
3387
- Prefer `eq` when using `match_array` with an empty array literal.
3386
3388
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module RSpec
6
6
# Checks where `contain_exactly` is used.
7
7
#
8
8
# This cop checks for the following:
9
+ #
9
10
# - Prefer `match_array` when matching array values.
10
11
# - Prefer `be_empty` when using `contain_exactly` with no arguments.
11
12
#
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module RSpec
6
6
# Checks where `match_array` is used.
7
7
#
8
8
# This cop checks for the following:
9
+ #
9
10
# - Prefer `contain_exactly` when matching an array with values.
10
11
# - Prefer `eq` when using `match_array` with an empty array literal.
11
12
#
You can’t perform that action at this time.
0 commit comments