File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 205205 . new_instances
206206 . should_receive ( :resolve_orocos_accessor )
207207 . with (
208- -> ( port ) { barrier . wait ; true } ,
209- any
208+ proc do
209+ barrier . wait
210+ true
211+ end , any
210212 ) . pass_thru
211213
212- port_writer = task . in_port . writer
213- expect_execution . join_all_waiting_work ( false )
214+ _port_writer = task . in_port . writer
215+ expect_execution
216+ . join_all_waiting_work ( false )
214217 . to_achieve { barrier . number_waiting == 1 }
215218
216219 plan . unmark_mission_task ( task )
@@ -392,12 +395,15 @@ def configure
392395 . new_instances
393396 . should_receive ( :resolve_orocos_accessor )
394397 . with (
395- -> ( port ) { barrier . wait ; true } ,
396- any
398+ proc do
399+ barrier . wait
400+ true
401+ end , any
397402 ) . pass_thru
398403
399- port_writer = task . out_port . reader
400- expect_execution . join_all_waiting_work ( false )
404+ _port_writer = task . out_port . reader
405+ expect_execution
406+ . join_all_waiting_work ( false )
401407 . to_achieve { barrier . number_waiting == 1 }
402408
403409 plan . unmark_mission_task ( task )
You can’t perform that action at this time.
0 commit comments