mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_offset_range_ascii_1
git-svn-id: http://svn.redmine.org/redmine/trunk@18969 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -292,15 +292,15 @@ DIFF
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_offset_range_ascii_1
|
def test_offset_range_ascii_1
|
||||||
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
|
||||||
+abcd
|
+abcd
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user