Skip to content

Commit

Permalink
Add test reproducing #660
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Jun 10, 2019
1 parent b26d6b5 commit 0033038
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/credo/check/consistency/space_around_operators_test.exs
Expand Up @@ -49,7 +49,14 @@ defmodule Credo.Check.Consistency.SpaceAroundOperatorsTest do
def f(), do: 1 + 2
def g(), do: 3 + 1
def l(), do: [&+/2, &-/2, &*/2, &//2]
def x do
entries
|> Stream.map(&json_library().encode!/1)
|> Enum.join(".")
end
end
defmodule InlineModule do
@type config_or_func :: Config.t() | (-> Config.t())
Expand Down

0 comments on commit 0033038

Please sign in to comment.