parent
3fe18525dd
commit
fe25d1d5cf
|
@ -20,7 +20,7 @@ describe BranchesFinder do
|
||||||
|
|
||||||
result = branches_finder.execute
|
result = branches_finder.execute
|
||||||
|
|
||||||
expect(result.first.name).to eq('video')
|
expect(result.first.name).to eq('crlf-diff')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'sorts by last_updated' do
|
it 'sorts by last_updated' do
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe Gitlab::Highlight, lib: true do
|
||||||
let(:branch) { 'crlf-diff' }
|
let(:branch) { 'crlf-diff' }
|
||||||
let(:blob) { repository.blob_at_branch(branch, path) }
|
let(:blob) { repository.blob_at_branch(branch, path) }
|
||||||
let(:lines) do
|
let(:lines) do
|
||||||
Gitlab::Highlight.highlight_lines(project.repository, 'crlf-diff-test', 'files/whitespace')
|
Gitlab::Highlight.highlight_lines(project.repository, 'crlf-diff', 'files/whitespace')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'strips extra LFs' do
|
it 'strips extra LFs' do
|
||||||
|
|
Loading…
Reference in New Issue