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

git-svn-id: http://svn.redmine.org/redmine/trunk@18968 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-08 15:14:16 +00:00
parent 95401eced1
commit afbd2353c1

View File

@@ -309,15 +309,15 @@ DIFF
end end
def test_offset_range_ascii_2 def test_offset_range_ascii_2
raw = <<-DIFF raw = <<~DIFF
--- a.txt 2013-04-05 14:19:39.000000000 +0900 --- a.txt 2013-04-05 14:19:39.000000000 +0900
+++ b.txt 2013-04-05 14:19:51.000000000 +0900 +++ b.txt 2013-04-05 14:19:51.000000000 +0900
@@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
aaaa aaaa
-abc -abc
+zabc +zabc
bbbb bbbb
DIFF DIFF
diff = Redmine::UnifiedDiff.new(raw, :type => 'sbs') diff = Redmine::UnifiedDiff.new(raw, :type => 'sbs')
assert_equal 1, diff.size assert_equal 1, diff.size
assert_equal 3, diff.first.size assert_equal 3, diff.first.size