Project

General

Profile

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

Go MAEDA, 2022-12-23 04:35

View differences:

.rubocop_todo.yml
Lint/UnusedMethodArgument:
Enabled: false
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
Exclude:
- 'test/functional/repositories_git_controller_test.rb'
Lint/UselessAssignment:
Enabled: false
test/functional/repositories_git_controller_test.rb
@project.reload
assert_nil @project.repository
end
private
def puts_pass_on_not_utf8
puts "TODO: This test fails " +
"when Encoding.default_external is not UTF-8. " +
"Current value is '#{Encoding.default_external.to_s}'"
end
else
puts "Git test repository NOT FOUND. Skipping functional tests !!!"
def test_fake; assert true end
......
yield
ActionController::Base.perform_caching = before
end
def puts_pass_on_not_utf8
puts "TODO: This test fails " +
"when Encoding.default_external is not UTF-8. " +
"Current value is '#{Encoding.default_external.to_s}'"
end
end
    (1-1/1)