1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix RuboCop offense "Lint/Syntax: invalid escape character syntax" (#38585).

git-svn-id: https://svn.redmine.org/redmine/trunk@22650 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-01-27 05:43:11 +00:00
parent f3021e67ad
commit bac1e2213a

View File

@ -385,7 +385,7 @@ class Redmine::UnifiedDiffTest < ActiveSupport::TestCase
end
def test_keep_similar_git_footer_line
raw = <<~DIFF
raw = <<~'DIFF'
diff --git a/test1.txt b/test1.txt
--- a/test1.txt
+++ b/test1.txt
@ -425,7 +425,7 @@ class Redmine::UnifiedDiffTest < ActiveSupport::TestCase
end
def test_git_footer_line
raw = <<~DIFF
raw = <<~'DIFF'
From 1ed13eda266a3e0a5a8624e79ae28874ebcdeb5c Mon Sep 17 00:00:00 2001
From: test <none@none>
Date: Thu, 30 Apr 2020 11:40:20 +0900