fix unused variable warning in Archiver test

This commit is contained in:
Fly Dev 2025-06-23 14:12:00 +00:00
parent 274737c264
commit 886495b7b0

View file

@ -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