Commit 2830ba39 authored by Rémy Coutable's avatar Rémy Coutable

Fix a 'Style/RegexpLiteralMixedPreserve' RuboCop offense

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 1172f089
...@@ -113,7 +113,7 @@ RSpec.describe Gitlab::Sanitizers::Exif do ...@@ -113,7 +113,7 @@ RSpec.describe Gitlab::Sanitizers::Exif do
it 'cleans only jpg/tiff images with the correct mime types' do it 'cleans only jpg/tiff images with the correct mime types' do
expect(sanitizer).not_to receive(:extra_tags) expect(sanitizer).not_to receive(:extra_tags)
expect { subject }.to raise_error(RuntimeError, /File type text\/plain not supported/) expect { subject }.to raise_error(RuntimeError, %r{File type text/plain not supported})
end end
end end
end end
......
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