Skip to content

Commit

Permalink
Add failing test reproducing #164
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Sep 10, 2016
1 parent 0db4af7 commit 441a243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,6 +2,7 @@
/deps
/docs
/.idea
/.vscode
*.iml
erl_crash.dump
*.ez
Expand Up @@ -14,9 +14,9 @@ defmodule CredoSampleModule do
if !allowed? || (something_in_parentheses == 42) do
something
end
boolean |> if(do: :ok, else: :error)
boolean |> unless(do: :ok)
if (thing && other_thing) || better_thing, do: something
end
end
""" |> to_source_file
Expand Down

0 comments on commit 441a243

Please sign in to comment.