Skip to content

Commit

Permalink
Addressing feedback on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Balser authored and bbalser committed Oct 14, 2019
1 parent 2040deb commit f60398f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/placebo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ defmodule Placebo do
setup(context) do
async? = Map.get(context, :async, false)

if async? == false do
unless async? do
Placebo.Server.clear()
end

Expand All @@ -134,7 +134,7 @@ defmodule Placebo do
)
end)
after
if async? == false do
unless async? do
Placebo.Server.clear()
end
end
Expand Down

0 comments on commit f60398f

Please sign in to comment.