fix-31507.patch

Go MAEDA, 2019-06-07 14:00

Download (757 Bytes)

View differences:

test/unit/lib/redmine/unified_diff_test.rb
90 90
  end
91 91

  
92 92
  def test_partials_with_html_entities
93
    raw = <<-DIFF
93
    raw = <<-DIFF.gsub(/^$/, ' ')
94 94
--- test.orig.txt Wed Feb 15 16:10:39 2012
95 95
+++ test.new.txt  Wed Feb 15 16:11:25 2012
96 96
@@ -1,5 +1,5 @@
97 97
 Semicolons were mysteriously appearing in code diffs in the repository
98
 
98

  
99 99
-void DoSomething(std::auto_ptr<MyClass> myObj)
100 100
+void DoSomething(const MyClass& myObj)
101
 
101

  
102 102
DIFF
103 103

  
104 104
    diff = Redmine::UnifiedDiff.new(raw, :type => 'sbs')