File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -711,14 +711,6 @@ Style/StructInheritance:
711711 Exclude :
712712 - ' test/test_ldap.rb'
713713
714- # Offense count: 1
715- # Cop supports --auto-correct.
716- # Configuration parameters: IgnoredMethods.
717- # IgnoredMethods: respond_to, define_method
718- Style/SymbolProc :
719- Exclude :
720- - ' test/test_ldif.rb'
721-
722714# Offense count: 4
723715# Cop supports --auto-correct.
724716# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def test_ldif
7676
7777 # Must test folded lines and base64-encoded lines as well as normal ones.
7878 def test_to_ldif
79- data = File . open ( TestLdifFilename , "rb" ) { | f | f . read }
79+ data = File . open ( TestLdifFilename , "rb" , & : read)
8080 io = StringIO . new ( data )
8181
8282 # added .lines to turn to array because 1.9 doesn't have
You can’t perform that action at this time.
0 commit comments