summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/unified_diff_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/lib/redmine/unified_diff_test.rb')
-rw-r--r--test/unit/lib/redmine/unified_diff_test.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/unit/lib/redmine/unified_diff_test.rb b/test/unit/lib/redmine/unified_diff_test.rb
index 55f475d0c..1879ebf8f 100644
--- a/test/unit/lib/redmine/unified_diff_test.rb
+++ b/test/unit/lib/redmine/unified_diff_test.rb
@@ -123,13 +123,13 @@ DIFF
--- file.c
-------------------------
+A line that starts with dashes:
-
+
and removed.
-
+
@@ -23,4 +19,4 @@
-
-
-
+
+
+
-Another chunk of change
+Another chunk of changes
@@ -360,7 +360,7 @@ DIFF
end
def test_offset_range_japanese_4
- # UTF-8 The 2nd byte differs.
+ # UTF-8 The 2nd byte differs.
with_settings :repositories_encodings => '' do
diff = Redmine::UnifiedDiff.new(
read_diff_fixture('issue-13644-4.diff'), :type => 'sbs')
@@ -372,7 +372,7 @@ DIFF
end
def test_offset_range_japanese_5
- # UTF-8 The 2nd byte differs.
+ # UTF-8 The 2nd byte differs.
with_settings :repositories_encodings => '' do
diff = Redmine::UnifiedDiff.new(
read_diff_fixture('issue-13644-5.diff'), :type => 'sbs')