mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
326d502714
The `rails test` command scans its arguments for test paths to load before handing off option parsing to Minitest. To avoid incorrectly interpreting a `-n /regex/` pattern as an absolute path to a directory, it skips arguments that end with a slash. However a relative path ending in a slash is not ambiguous, so we can safely treat those as test paths. This is especially useful in bash, where tab completing a directory leaves a trailing slash in place. |
||
---|---|---|
.. | ||
line_filtering.rb | ||
railtie.rb | ||
reporter.rb | ||
runner.rb | ||
testing.rake |