Skip to content

Commit f423768

Browse files
authored
Merge pull request #2013 from kyanagi/fix_list_markup
[DOC] Fix markup for lists
2 parents 483d00b + f636e7f commit f423768

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ expect(object).to be_a_kind_of(String)
632632
Checks where `contain_exactly` is used.
633633
634634
This 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
33813382
Checks where `match_array` is used.
33823383
33833384
This 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

lib/rubocop/cop/rspec/contain_exactly.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
#

lib/rubocop/cop/rspec/match_array.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
#

0 commit comments

Comments
 (0)