diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 15:14:16 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 15:14:16 +0000 |
commit | afbd2353c1055ee3d8343d03db3efde95937b4f3 (patch) | |
tree | 596c04b988edd792746410b8219d2b7e587eb167 /test/unit/lib/redmine/unified_diff_test.rb | |
parent | 95401eced1ce7073d2a4398c9f3cb289d98d796f (diff) | |
download | redmine-afbd2353c1055ee3d8343d03db3efde95937b4f3.tar.gz redmine-afbd2353c1055ee3d8343d03db3efde95937b4f3.zip |
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
Diffstat (limited to 'test/unit/lib/redmine/unified_diff_test.rb')
-rw-r--r-- | test/unit/lib/redmine/unified_diff_test.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/unit/lib/redmine/unified_diff_test.rb b/test/unit/lib/redmine/unified_diff_test.rb index 1879ebf8f..723418bc9 100644 --- a/test/unit/lib/redmine/unified_diff_test.rb +++ b/test/unit/lib/redmine/unified_diff_test.rb @@ -309,15 +309,15 @@ DIFF end def test_offset_range_ascii_2 - raw = <<-DIFF ---- a.txt 2013-04-05 14:19:39.000000000 +0900 -+++ b.txt 2013-04-05 14:19:51.000000000 +0900 -@@ -1,3 +1,3 @@ - aaaa --abc -+zabc - bbbb -DIFF + raw = <<~DIFF + --- a.txt 2013-04-05 14:19:39.000000000 +0900 + +++ b.txt 2013-04-05 14:19:51.000000000 +0900 + @@ -1,3 +1,3 @@ + aaaa + -abc + +zabc + bbbb + DIFF diff = Redmine::UnifiedDiff.new(raw, :type => 'sbs') assert_equal 1, diff.size assert_equal 3, diff.first.size |