Skip to content

Commit

Permalink
just match on +0.0 in an assertMatch to get rid of OTP-27 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Feb 9, 2024
1 parent 15c1f7c commit 8d22743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/opentelemetry/test/otel_configuration_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ sampler_parent_based_one(_Config) ->
ok.

sampler_parent_based_zero(_Config) ->
?assertMatch({parent_based, #{root := {trace_id_ratio_based, 0.0}}},
?assertMatch({parent_based, #{root := {trace_id_ratio_based, +0.0}}},
maps:get(sampler, otel_configuration:merge_with_os([]))),

ok.
Expand Down

0 comments on commit 8d22743

Please sign in to comment.