mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
9fa084133b
commit
10ae000021
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user