Skip to content

Commit 875cc04

Browse files
FelonEkonomclaude
andcommitted
Remove explanatory comments from depayloader test
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5b9d87c commit 875cc04

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

test/depayloader_test.exs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ defmodule Membrane.RTP.H264.DepayloaderTest do
6262
describe "Depayloader when handling events" do
6363
alias Membrane.Event.Discontinuity
6464

65-
# Mirrors the relevant shape of the element callback context used by the
66-
# default `Membrane.Filter.handle_event/4` (membrane_core 1.3+), which reads
67-
# `context.pads[pad].direction` to forward events to the opposite pads.
6865
@context %{pads: %{input: %{direction: :input}, output: %{direction: :output}}}
6966

7067
test "drops current accumulator in case of discontinuity" do
@@ -80,8 +77,6 @@ defmodule Membrane.RTP.H264.DepayloaderTest do
8077
assert {actions, @empty_state} =
8178
Depayloader.handle_event(:input, %Discontinuity{}, @context, @empty_state)
8279

83-
# The default `Membrane.Filter.handle_event/4` forwards the event to all
84-
# opposite-direction pads via an `:event` action (`:forward` is deprecated).
8580
assert actions == [event: {:output, %Discontinuity{}}]
8681
end
8782
end

0 commit comments

Comments
 (0)