Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Jul 15, 2024
1 parent 0f3e78d commit 4b9d793
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/logstasher_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,12 @@ logstasher_message(_Config) ->
{ok, _Started} = application:ensure_all_started(logstasher),
#{
message := <<"Hello">>,
fields := Fields1
fields := #{ msg := <<"Hello">>, severity := info }
} = logstasher_h:log_data(#{
level => info,
msg => {report, #{ msg => <<"Hello">> }},
meta => #{ time => 0 }
}),
true = maps:is_key(msg, Fields1),
#{
message := <<"Hello">>,
fields := Fields2
Expand Down

0 comments on commit 4b9d793

Please sign in to comment.