File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -170,23 +170,23 @@ def apply
170
170
end
171
171
172
172
context 'example from docs' do
173
- let ( :string ) { <<~EOS }
173
+ let ( :string ) { <<~EXAMPLE }
174
174
block
175
175
{ receiver = send
176
176
{ selector = log
177
177
receiver = send{selector=logger}
178
178
}
179
179
}
180
- EOS
180
+ EXAMPLE
181
181
182
182
let ( :expected_node ) do
183
183
Mutant ::AST ::Pattern ::Node . new (
184
184
type : :block ,
185
185
descendant : Mutant ::AST ::Pattern ::Node ::Descendant . new (
186
186
name : :receiver ,
187
187
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 (
190
190
name : :selector ,
191
191
value : Mutant ::AST ::Pattern ::Node ::Attribute ::Value ::Single . new ( value : :log )
192
192
) ,
@@ -197,7 +197,7 @@ def apply
197
197
attribute : Mutant ::AST ::Pattern ::Node ::Attribute . new (
198
198
name : :selector ,
199
199
value : Mutant ::AST ::Pattern ::Node ::Attribute ::Value ::Single . new ( value : :logger )
200
- ) ,
200
+ )
201
201
)
202
202
)
203
203
)
You can’t perform that action at this time.
0 commit comments