summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-08-04 16:06:38 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-08-04 16:06:38 +0000
commit6d22d66b9d68769b2defb15647e57c0c92ae2d5b (patch)
tree2c99ccb7cdf1ed7d301471bdfbfd748c1e96c243
parent12c3df4bd38ba26cb0d9e6c32e68e45a5861e579 (diff)
downloadredmine-6d22d66b9d68769b2defb15647e57c0c92ae2d5b.tar.gz
redmine-6d22d66b9d68769b2defb15647e57c0c92ae2d5b.zip
rubocop: fix Layout/IndentationConsistency of test/unit/repository_cvs_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18349 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--test/unit/repository_cvs_test.rb4
2 files changed, 2 insertions, 3 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 51bd8eb7b..ff2451bdd 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -313,7 +313,6 @@ Layout/IndentationConsistency:
- 'test/integration/api_test/custom_fields_attribute_test.rb'
- 'test/integration/api_test/issues_test.rb'
- 'test/mocks/open_id_authentication_mock.rb'
- - 'test/unit/repository_cvs_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: Width, IgnoredPatterns.
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index 869fe885d..a5add22e6 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -261,8 +261,8 @@ class RepositoryCvsTest < ActiveSupport::TestCase
assert_equal 'LANG', ann.revisions[0].author
assert_equal 'CVS test repository', ann.lines[0]
- # invalid revision
- assert_nil @repository.annotate('README', '123')
+ # invalid revision
+ assert_nil @repository.annotate('README', '123')
end
else