fix unused variable warning in Archiver test
This commit is contained in:
parent
274737c264
commit
886495b7b0
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ defmodule Aprs.ArchiverTest do
|
|||
result = Archiver.start_link([])
|
||||
assert match?({:ok, _pid}, result) or match?({:error, _reason}, result)
|
||||
|
||||
if match?({:ok, pid}, result) do
|
||||
if match?({:ok, _pid}, result) do
|
||||
GenServer.stop(elem(result, 1))
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue