Project

General

Profile

Patch #38091 ยป fix-redundant-private-modifier.patch

Go MAEDA, 2022-12-23 04:35

View differences:

.rubocop_todo.yml
395 395
Lint/UnusedMethodArgument:
396 396
  Enabled: false
397 397

  
398
# This cop supports safe autocorrection (--autocorrect).
399
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
400
Lint/UselessAccessModifier:
401
  Exclude:
402
    - 'test/functional/repositories_git_controller_test.rb'
403

  
404 398
Lint/UselessAssignment:
405 399
  Enabled: false
406 400

  
test/functional/repositories_git_controller_test.rb
810 810
      @project.reload
811 811
      assert_nil @project.repository
812 812
    end
813

  
814
    private
815

  
816
    def puts_pass_on_not_utf8
817
      puts "TODO: This test fails " +
818
           "when Encoding.default_external is not UTF-8. " +
819
           "Current value is '#{Encoding.default_external.to_s}'"
820
    end
821 813
  else
822 814
    puts "Git test repository NOT FOUND. Skipping functional tests !!!"
823 815
    def test_fake; assert true end
......
831 823
    yield
832 824
    ActionController::Base.perform_caching = before
833 825
  end
826

  
827
  def puts_pass_on_not_utf8
828
    puts "TODO: This test fails " +
829
         "when Encoding.default_external is not UTF-8. " +
830
         "Current value is '#{Encoding.default_external.to_s}'"
831
  end
834 832
end
    (1-1/1)