Lines Matching refs:blk
55 blk = proc do
58 expect(&blk).not_to raise_error
62 blk = construct_with_args(Object.new => 1)
63 expect(&blk).to raise_error TypeError
64 blk = construct_with_args(1 => 1)
65 expect(&blk).to raise_error TypeError
69 blk = construct_with_args(symbol: Object.new)
70 expect(&blk).to raise_error TypeError
71 blk = construct_with_args('1' => {})
72 expect(&blk).to raise_error TypeError
76 blk = construct_with_args(a_symbol: 1)
77 expect(&blk).to_not raise_error
81 blk = construct_with_args('a_symbol' => 1)
82 expect(&blk).to_not raise_error
86 blk = construct_with_args(a_symbol: '1')
87 expect(&blk).to_not raise_error
91 blk = construct_with_args(a_symbol: :another_symbol)
92 expect(&blk).to_not raise_error
96 blk = construct_with_args(a_symbol: 1)
97 expect(&blk).to_not raise_error
102 blk = construct_with_args(args)
103 expect(&blk).to_not raise_error
107 blk = construct_with_args({})
108 expect(&blk).not_to raise_error
110 fork_with_propagated_error_message(&blk)
139 blk = proc do
142 expect(&blk).to_not raise_error
150 blk = proc do
153 expect(&blk).to raise_error(RuntimeError)
161 blk = proc do
166 expect(&blk).to raise_error(RuntimeError, 'grpc cannot be used before and after forking')
173 blk = proc { ch.destroy }
174 expect(&blk).to_not raise_error
179 blk = proc { ch.destroy }
180 blk.call
181 expect(&blk).to_not raise_error
223 blk = proc { ch.close }
224 expect(&blk).to_not raise_error
229 blk = proc { ch.close }
230 blk.call
231 expect(&blk).to_not raise_error