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)
632632Checks where `contain_exactly` is used.
633633
634634This cop checks for the following:
635+
635636- Prefer `match_array` when matching array values.
636637- Prefer `be_empty` when using `contain_exactly` with no arguments.
637638
@@ -3381,6 +3382,7 @@ end
33813382Checks where `match_array` is used.
33823383
33833384This cop checks for the following:
3385+
33843386- Prefer `contain_exactly` when matching an array with values.
33853387- Prefer `eq` when using `match_array` with an empty array literal.
33863388
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module RSpec
66 # Checks where `contain_exactly` is used.
77 #
88 # This cop checks for the following:
9+ #
910 # - Prefer `match_array` when matching array values.
1011 # - Prefer `be_empty` when using `contain_exactly` with no arguments.
1112 #
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module RSpec
66 # Checks where `match_array` is used.
77 #
88 # This cop checks for the following:
9+ #
910 # - Prefer `contain_exactly` when matching an array with values.
1011 # - Prefer `eq` when using `match_array` with an empty array literal.
1112 #
You can’t perform that action at this time.
0 commit comments