File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def method
85
85
return false
86
86
end
87
87
EORUBY
88
- config = { "exclude_paths" => [ ' my_script' ] }
88
+ config = { "exclude_paths" => [ " my_script" ] }
89
89
output = run_engine ( config )
90
90
assert !includes_check? ( output , "Lint/UselessAssignment" )
91
91
end
@@ -107,14 +107,14 @@ def method
107
107
"rubocop.yml" ,
108
108
"AllCops:\n Exclude:\n - \" foo.rb\" \n "
109
109
)
110
- config = { "config" => ' rubocop.yml' , "exclude_paths" => [ ' bar.rb' ] }
110
+ config = { "config" => " rubocop.yml" , "exclude_paths" => [ " bar.rb" ] }
111
111
output = run_engine ( config )
112
112
assert !includes_check? ( output , "Lint/UselessAssignment" )
113
113
end
114
114
115
115
it "handles different locations properly" do
116
116
RuboCop ::Cop ::Team . any_instance . expects ( :inspect_file ) . returns ( [ OpenStruct . new (
117
- location : RuboCop ::Cop ::Lint ::Syntax ::PseudoSourceRange . new ( 1 , 0 , '' ) ,
117
+ location : RuboCop ::Cop ::Lint ::Syntax ::PseudoSourceRange . new ( 1 , 0 , "" ) ,
118
118
cop_name : "fake" ,
119
119
message : "message"
120
120
) ] )
You can’t perform that action at this time.
0 commit comments