Skip to content

Commit bda7ef4

Browse files
committed
Fix rubocop complaints
1 parent bc76e66 commit bda7ef4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/unit/mutant/ast/pattern_spec.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -170,23 +170,23 @@ def apply
170170
end
171171

172172
context 'example from docs' do
173-
let(:string) { <<~EOS }
173+
let(:string) { <<~EXAMPLE }
174174
block
175175
{ receiver = send
176176
{ selector = log
177177
receiver = send{selector=logger}
178178
}
179179
}
180-
EOS
180+
EXAMPLE
181181

182182
let(:expected_node) do
183183
Mutant::AST::Pattern::Node.new(
184184
type: :block,
185185
descendant: Mutant::AST::Pattern::Node::Descendant.new(
186186
name: :receiver,
187187
pattern: Mutant::AST::Pattern::Node.new(
188-
type: :send,
189-
attribute: Mutant::AST::Pattern::Node::Attribute.new(
188+
type: :send,
189+
attribute: Mutant::AST::Pattern::Node::Attribute.new(
190190
name: :selector,
191191
value: Mutant::AST::Pattern::Node::Attribute::Value::Single.new(value: :log)
192192
),
@@ -197,7 +197,7 @@ def apply
197197
attribute: Mutant::AST::Pattern::Node::Attribute.new(
198198
name: :selector,
199199
value: Mutant::AST::Pattern::Node::Attribute::Value::Single.new(value: :logger)
200-
),
200+
)
201201
)
202202
)
203203
)

0 commit comments

Comments
 (0)