summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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