cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_one_line_new_files

git-svn-id: http://svn.redmine.org/redmine/trunk@18973 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-08 15:15:11 +00:00
parent f99c88f3cd
commit 41f1922d23

View File

@@ -139,7 +139,7 @@ DIFF
end
def test_one_line_new_files
diff = Redmine::UnifiedDiff.new(<<-DIFF
diff = Redmine::UnifiedDiff.new(<<~DIFF)
diff -r 000000000000 -r ea98b14f75f0 README1
--- /dev/null
+++ b/README1
@@ -165,7 +165,6 @@ diff -r 000000000000 -r ea98b14f75f0 README4
+test5
+test6
DIFF
)
assert_equal 4, diff.size
assert_equal "README1", diff[0].file_name
end