Skip to content

Commit

Permalink
Use Elixir 1.12.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Apr 5, 2021
1 parent 3647750 commit 4cceec0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
erlang 23.1
elixir 1.11.2-otp-23
erlang 24.0-rc2
elixir 1.12.0-rc.0-otp-23
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ defmodule Credo.Check.Consistency.SpaceAroundOperators.SpaceHelper do
def operator?({:mult_op, _, _}), do: true
def operator?({:two_op, _, _}), do: true
def operator?({:concat_op, _, _}), do: true
def operator?({:ternary_op, _, _}), do: true
def operator?({:rel_op, _, _}), do: true
def operator?({:rel_op2, _, _}), do: true
def operator?({:and_op, _, _}), do: true
Expand Down
8 changes: 8 additions & 0 deletions test/credo/check/consistency/space_around_operators_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ defmodule Credo.Check.Consistency.SpaceAroundOperatorsTest do
for prio < -999..0 do
# something
end
for prio < 1..10//2 do
# something
end
for prio < 10..1//-2 do
# something
end
end
"""
@with_spaces5 """
Expand Down

0 comments on commit 4cceec0

Please sign in to comment.