We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf3c7c commit 3dd5082Copy full SHA for 3dd5082
spec/concurrent/dataflow_spec.rb
@@ -221,23 +221,6 @@ def fib_with_dot(n)
221
expect(expected.value).to eq 377
222
end
223
224
- it 'can be called as Concurrent::dataflow! and Concurrent::dataflow_with' do
225
-
226
- def fib_with_colons(n)
227
- if n < 2
228
- Concurrent::dataflow! { n }
229
- else
230
- n1 = fib_with_colons(n - 1)
231
- n2 = fib_with_colons(n - 2)
232
- Concurrent::dataflow_with!(root_executor, n1, n2) { n1.value + n2.value }
233
- end
234
235
236
- expected = fib_with_colons(14)
237
- sleep(0.1)
238
- expect(expected.value).to eq 377
239
240
241
it 'dataflow! raises exceptions from dependencies, and dataflow doesn\'t' do
242
243
def raiser
0 commit comments