Fixed inconsistency between description and example in 'Running tests' section (#5802)

Expand test run examples to show running a specific line number or a matching regex.

[ci skip]
This commit is contained in:
Fuyutsubaki
2025-10-31 21:44:11 +09:00
committed by GitHub
parent f150357c1c
commit b76d18d277

View File

@@ -163,9 +163,10 @@ bin/test
bin/test test/models/trackable_test.rb bin/test test/models/trackable_test.rb
``` ```
* Running a specific test given a regex: * Running a specific test given a line number or a regex:
```bash ```bash
bin/test test/models/trackable_test.rb:16 bin/test test/models/trackable_test.rb:16
bin/test test/models/trackable_test.rb -n '/update.*record/'
``` ```
## Starting with Rails? ## Starting with Rails?