Skip to content

Commit

Permalink
try to address warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kyliepace committed Jul 15, 2021
1 parent d816f2c commit 00be82a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/process_tree_dictionary.ex
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ defmodule ProcessTreeDictionary do
use GenServer

@moduledoc false

def init(init_arg) do
{:ok, init_arg}
end
def handle_call({__MODULE__, :put, key, value}, _from, {gl, dict}) do
updated = put_in(dict, to_key_path(key), value)
{:reply, :ok, {gl, updated}}
Expand Down
2 changes: 1 addition & 1 deletion test/process_tree_dictionary_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ defmodule ProcessTreeDictionaryTest do
sync()
end

assert io |> String.strip |> String.split("\n") == [
assert io |> String.trim |> String.split("\n") == [
"before ensure_started",
"after ensure_started",
"in spawned process",
Expand Down

0 comments on commit 00be82a

Please sign in to comment.