File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
lib/refactorex/refactor/variable Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
1515 matrix :
1616 os : [ubuntu-20.04, windows-latest]
1717 elixir_otp :
18- - { elixir: 1.13, otp: 22 }
19- - { elixir: 1.14, otp: 23 }
20- - { elixir: 1.15, otp: 24 }
21- - { elixir: 1.16, otp: 25 }
22- - { elixir: 1.17, otp: 26 }
18+ # - { elixir: 1.13, otp: 22 }
19+ # - { elixir: 1.14, otp: 23 }
20+ # - { elixir: 1.15, otp: 24 }
21+ # - { elixir: 1.16, otp: 25 }
22+ # - { elixir: 1.17, otp: 26 }
2323 - { elixir: 1.18, otp: 27 }
2424
2525 steps :
3636 run : mix deps.get
3737
3838 - name : Run tests
39- run : mix test
39+ run : mix test --only only
4040
4141
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ defmodule Refactorex.Refactor.Variable.ExtractVariable do
1919 do: false
2020
2121 def can_refactor? ( % { node: node } = zipper , selection ) do
22+ IO . inspect ( { node , selection } )
23+
2224 cond do
2325 not AST . equal? ( node , selection ) ->
2426 false
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ defmodule Refactorex.Refactor.Variable.ExtractVariableTest do
270270 )
271271 end
272272
273+ @ tag :only
273274 test "extracts single captured variable inside anonymous function" do
274275 assert_refactored (
275276 ExtractVariable ,
You can’t perform that action at this time.
0 commit comments