Skip to content

Commit 627ba7d

Browse files
committed
Style fixes
1 parent 58b7607 commit 627ba7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/cc/engine/rubocop_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def method
8585
return false
8686
end
8787
EORUBY
88-
config = {"exclude_paths" => ['my_script']}
88+
config = { "exclude_paths" => ["my_script"] }
8989
output = run_engine(config)
9090
assert !includes_check?(output, "Lint/UselessAssignment")
9191
end
@@ -107,14 +107,14 @@ def method
107107
"rubocop.yml",
108108
"AllCops:\n Exclude:\n - \"foo.rb\"\n"
109109
)
110-
config = { "config" => 'rubocop.yml', "exclude_paths" => ['bar.rb'] }
110+
config = { "config" => "rubocop.yml", "exclude_paths" => ["bar.rb"] }
111111
output = run_engine(config)
112112
assert !includes_check?(output, "Lint/UselessAssignment")
113113
end
114114

115115
it "handles different locations properly" do
116116
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, ""),
118118
cop_name: "fake",
119119
message: "message"
120120
)])

0 commit comments

Comments
 (0)