Skip to content

Commit

Permalink
Fix example in docs (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenvanvliet authored Jan 3, 2023
1 parent af37013 commit aef5cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telemetry_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
%% In Elixir, a similar test would look like this:
%%
%% ```
%% ref = :telemetry.attach_event_handlers(self(), [[:some, :event]])
%% ref = :telemetry_test.attach_event_handlers(self(), [[:some, :event]])
%% function_that_emits_the_event()
%% assert_received {[:some, :event], ^ref, %{measurement: _}, %{meta: _}}
%% '''
Expand Down

0 comments on commit aef5cd0

Please sign in to comment.