diff --git a/mix_tests/test/logger_formatter_json_test.exs b/mix_tests/test/logger_formatter_json_test.exs index 0d33d45..66066c7 100644 --- a/mix_tests/test/logger_formatter_json_test.exs +++ b/mix_tests/test/logger_formatter_json_test.exs @@ -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