mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_line_starting_with_dashes
git-svn-id: http://svn.redmine.org/redmine/trunk@18974 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -113,7 +113,7 @@ DIFF
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_line_starting_with_dashes
|
def test_line_starting_with_dashes
|
||||||
diff = Redmine::UnifiedDiff.new(<<-DIFF
|
diff = Redmine::UnifiedDiff.new(<<~DIFF)
|
||||||
--- old.txt Wed Nov 11 14:24:58 2009
|
--- old.txt Wed Nov 11 14:24:58 2009
|
||||||
+++ new.txt Wed Nov 11 14:25:02 2009
|
+++ new.txt Wed Nov 11 14:25:02 2009
|
||||||
@@ -1,8 +1,4 @@
|
@@ -1,8 +1,4 @@
|
||||||
@@ -134,7 +134,6 @@ DIFF
|
|||||||
+Another chunk of changes
|
+Another chunk of changes
|
||||||
|
|
||||||
DIFF
|
DIFF
|
||||||
)
|
|
||||||
assert_equal 1, diff.size
|
assert_equal 1, diff.size
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user