Skip to content

Commit

Permalink
Update Elixir tests
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jan 4, 2024
1 parent 02a1309 commit 1b42adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix_tests/test/logger_formatter_json_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule LoggerFormatterJsonTest do

describe "Structured log messages" do
test "Simple map" do
expected = ~s({"hi":"there","level":"info"}\n)
expected = ~s({"msg":{"hi":"there"},"level":"info"}\n)
assert expected == to_string(:logger_formatter_json.format(%{level: :info, msg: {:report, %{hi: :there}}, meta: %{}}, %{}))
end
end
Expand Down

0 comments on commit 1b42adc

Please sign in to comment.