Commit 7430a599 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Ignore regexp literal false positive

parent d08d3017
...@@ -137,12 +137,14 @@ describe_cli 'pod' do ...@@ -137,12 +137,14 @@ describe_cli 'pod' do
/lib/cocoapods_plugin.rb # The actual plugin file that gets loaded /lib/cocoapods_plugin.rb # The actual plugin file that gets loaded
}iox, '`\1/lib/cocoapods_plugin.rb' }iox, '`\1/lib/cocoapods_plugin.rb'
# rubocop:disable Style/RegexpLiteral
s.replace_pattern %r{ s.replace_pattern %r{
^(\s* \$ \s (CURL_BIN | #{`which curl`.strip}) .* \n) ^(\s* \$ \s (CURL_BIN | #{`which curl`.strip}) .* \n)
^\s* % \s* Total .* \n ^\s* % \s* Total .* \n
^\s* Dload \s* Upload .* \n ^\s* Dload \s* Upload .* \n
(^\s* [[:cntrl:]] .* \n)+ (^\s* [[:cntrl:]] .* \n)+
}iox, "\\1\n" }iox, "\\1\n"
# rubocop:enable Style/RegexpLiteral
end end
describe 'Pod install' do describe 'Pod install' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment