diff options
author | Go MAEDA <maeda@farend.jp> | 2024-01-27 05:43:11 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-01-27 05:43:11 +0000 |
commit | bac1e2213ab005745ee7e2a64195d931333c8a55 (patch) | |
tree | 16b64e81b32eb56e1a7f66cc673d175e2f9f89f4 /test/unit | |
parent | f3021e67adea4e48015197c51a2b0d1c02c61bae (diff) | |
download | redmine-bac1e2213ab005745ee7e2a64195d931333c8a55.tar.gz redmine-bac1e2213ab005745ee7e2a64195d931333c8a55.zip |
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
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/lib/redmine/unified_diff_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/unified_diff_test.rb b/test/unit/lib/redmine/unified_diff_test.rb index 15eff8b44..87e9d072f 100644 --- a/test/unit/lib/redmine/unified_diff_test.rb +++ b/test/unit/lib/redmine/unified_diff_test.rb @@ -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 |