@@ -83,7 +83,7 @@ defmodule Membrane.Core.PipelineTest do
8383 end
8484
8585 test "should raise if trying to spawn element with already taken name" , % { state: state } do
86- state = % State { state | children: % { a: % { group: nil , name: :a } } }
86+ state = % { state | children: % { a: % { group: nil , name: :a } } }
8787
8888 assert_raise Membrane.ParentError , ~r/ .*duplicate.*\[ :a\] / i , fn ->
8989 ActionHandler . handle_action (
@@ -97,7 +97,7 @@ defmodule Membrane.Core.PipelineTest do
9797 end
9898
9999 test "notification handling" , % { state: state } do
100- state = % State { state | children: % { source: % { } } }
100+ state = % { state | children: % { source: % { } } }
101101 notification = Message . new ( :child_notification , [ :source , :abc ] )
102102 assert { :noreply , state } = @ module . handle_info ( notification , state )
103103 assert % { internal_state: % { child_notification: { :abc , :source } } } = state
@@ -110,7 +110,7 @@ defmodule Membrane.Core.PipelineTest do
110110 end
111111
112112 test "other messages handling" , % { state: state } do
113- state = % State { state | children: % { source: % { } } }
113+ state = % { state | children: % { source: % { } } }
114114 assert { :noreply , state } = @ module . handle_info ( :other_message , state )
115115 assert % { internal_state: % { other: :other_message } } = state
116116 end
0 commit comments