Skip to content

Commit aef5cd0

Browse files
Fix example in docs (#122)
1 parent af37013 commit aef5cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/telemetry_test.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
%% In Elixir, a similar test would look like this:
4242
%%
4343
%% ```
44-
%% ref = :telemetry.attach_event_handlers(self(), [[:some, :event]])
44+
%% ref = :telemetry_test.attach_event_handlers(self(), [[:some, :event]])
4545
%% function_that_emits_the_event()
4646
%% assert_received {[:some, :event], ^ref, %{measurement: _}, %{meta: _}}
4747
%% '''

0 commit comments

Comments
 (0)