Skip to content

Commit 477dad2

Browse files
mattbrictsonsebjacobs
authored andcommitted
Fix "character class has duplicated range" warning (rspec#1913)
1 parent 390721b commit 477dad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/rails/example/system_example_group.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def app
4949
dependency on a webserver and `capybara`, please add capybara to
5050
your Gemfile and configure a webserver (e.g. `Capybara.server =
5151
:webrick`) before attempting to use system tests.
52-
""".gsub(/[\n\s]+/,' ').strip
52+
""".gsub(/\s+/,' ').strip
5353
end
5454

5555
original_after_teardown =

0 commit comments

Comments
 (0)