mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
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:
@@ -139,7 +139,7 @@ DIFF
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_one_line_new_files
|
def test_one_line_new_files
|
||||||
diff = Redmine::UnifiedDiff.new(<<-DIFF
|
diff = Redmine::UnifiedDiff.new(<<~DIFF)
|
||||||
diff -r 000000000000 -r ea98b14f75f0 README1
|
diff -r 000000000000 -r ea98b14f75f0 README1
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/README1
|
+++ b/README1
|
||||||
@@ -165,7 +165,6 @@ diff -r 000000000000 -r ea98b14f75f0 README4
|
|||||||
+test5
|
+test5
|
||||||
+test6
|
+test6
|
||||||
DIFF
|
DIFF
|
||||||
)
|
|
||||||
assert_equal 4, diff.size
|
assert_equal 4, diff.size
|
||||||
assert_equal "README1", diff[0].file_name
|
assert_equal "README1", diff[0].file_name
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user