Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Mention existence of --exclude-pattern #3075

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions features/command_line/pattern_option.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: `--pattern` option
Feature: `--pattern` and `--exclude-pattern` options

When you run RSpec without giving it specific file names, it determines which
files to load by applying a pattern to the provided directory arguments or
Expand All @@ -7,7 +7,7 @@ Feature: `--pattern` option

"**{,/*/**}/*_spec.rb"

Use the `--pattern` option to declare a different pattern.
Use the `--pattern` or `--exclude-pattern` options to declare a different pattern.

Background:
Given a file named "spec/example_spec.rb" with:
Expand Down
Loading