From 10ae000021d20b737b6a3c4b09167c0db26511ac Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 4 Aug 2019 05:41:31 +0000 Subject: [PATCH] rubocop: fix Layout/CommentIndentation of test/unit/repository_cvs_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18345 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/unit/repository_cvs_test.rb | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1855e9b4b..0fc04e963 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -112,7 +112,6 @@ Layout/CommentIndentation: - 'test/unit/issue_test.rb' - 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb' - 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb' - - 'test/unit/repository_cvs_test.rb' # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index 5087d84d8..bc9d87277 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -141,7 +141,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase rev3_commit = @repository.changesets.reorder('committed_on DESC').first assert_equal '3', rev3_commit.revision - # 2007-12-14 01:27:22 +0900 + # 2007-12-14 01:27:22 +0900 rev3_committed_on = Time.gm(2007, 12, 13, 16, 27, 22) assert_equal 'HEAD-20071213-162722', rev3_commit.scmid assert_equal rev3_committed_on, rev3_commit.committed_on @@ -155,7 +155,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase assert_equal %w|7 6 5 4 3 2 1|, @repository.changesets.collect(&:revision) rev5_commit = @repository.changesets.find_by_revision('5') assert_equal 'HEAD-20071213-163001', rev5_commit.scmid - # 2007-12-14 01:30:01 +0900 + # 2007-12-14 01:30:01 +0900 rev5_committed_on = Time.gm(2007, 12, 13, 16, 30, 1) assert_equal rev5_committed_on, rev5_commit.committed_on end