Move spec to proper place and fix unused variable

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2015-11-13 09:45:21 +01:00
parent c613f2d9a8
commit 3c16fb93fc
2 changed files with 0 additions and 1 deletions
-1
View File
@@ -11,7 +11,6 @@ module Gitlab
indexes.each do |index|
first_line = diff_arr[index+1]
second_line = diff_arr[index+2]
max_length = [first_line.size, second_line.size].max
# Skip inline diff if empty line was replaced with content
next if first_line == "-\n"