Skip to content

Commit

Permalink
Fix credo
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Mar 1, 2024
1 parent e93d17a commit 9765db8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/membrane/timestamp_queue.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ defmodule Membrane.TimestampQueue do
from each pad currently stored in the queue.
"""

use Bunch.Access

alias Membrane.{Buffer, Event, Pad, StreamFormat}
alias Membrane.Buffer.Metric
alias Membrane.Element.Action

use Bunch.Access

@type buffer_entry :: {:buffer, Buffer.t(), buffer_time :: Membrane.Time.t()}
@type stream_format_entry :: {:stream_format, StreamFormat.t()}
@type event_entry :: {:event, Event.t()}
Expand Down
6 changes: 3 additions & 3 deletions test/membrane/timestamp_queue_test.exs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
defmodule Membrane.TimestampQueueTest do
alias Membrane.TimestampQueue
use ExUnit.Case, async: true

alias Membrane.Buffer
alias Membrane.TimestampQueue

require Membrane.Pad, as: Pad

use ExUnit.Case, async: true

test "queue raises on buffer with nil dts" do
assert_raise(RuntimeError, fn ->
TimestampQueue.new()
Expand Down

0 comments on commit 9765db8

Please sign in to comment.