Skip to content

Commit ee55720

Browse files
committed
Fix warnings in tests
1 parent 0a1f504 commit ee55720

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/rollbax/logger_test.exs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ defmodule Rollbax.LoggerTest do
3232

3333
def init(args), do: {:ok, args}
3434

35-
def handle_cast(:raise_elixir, state) do
36-
Map.fetch!(%{}, :nonexistent_key)
37-
{:noreply, state}
35+
def handle_cast(:raise_elixir, _state) do
36+
Map.fetch!(Map.new(), :nonexistent_key)
3837
end
3938
end
4039

0 commit comments

Comments
 (0)