Fix broken specs. #3945

This commit is contained in:
Rubén Dávila
2016-01-12 19:28:31 -05:00
parent f547e733d1
commit 7307fa48e7
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ module Gitlab
# Only update text if line is found. This will prevent
# issues with submodules given the line only exists in diff content.
line.text = highlighted_line.gsub!(/\A\s/, line_prefix) if line
line.text = highlighted_line.gsub!(/\A\s/, line_prefix) if highlighted_line
end
@lines