Commit 39451c95 authored by James Lopez's avatar James Lopez

Fix trailing whitespace

parent 5e6663a2
...@@ -17,7 +17,7 @@ describe Gitlab::FileDetector do ...@@ -17,7 +17,7 @@ describe Gitlab::FileDetector do
it 'returns the type of a README file' do it 'returns the type of a README file' do
filenames = Gitlab::MarkupHelper::PLAIN_FILENAMES + Gitlab::MarkupHelper::PLAIN_FILENAMES.map(&:upcase) filenames = Gitlab::MarkupHelper::PLAIN_FILENAMES + Gitlab::MarkupHelper::PLAIN_FILENAMES.map(&:upcase)
extensions = Gitlab::MarkupHelper::EXTENSIONS + Gitlab::MarkupHelper::EXTENSIONS.map(&:upcase) extensions = Gitlab::MarkupHelper::EXTENSIONS + Gitlab::MarkupHelper::EXTENSIONS.map(&:upcase)
filenames.each do |filename| filenames.each do |filename|
expect(described_class.type_of(filename)).to eq(:readme) expect(described_class.type_of(filename)).to eq(:readme)
extensions.each do |extname| extensions.each do |extname|
......
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