Skip to content

Commit 3dd5082

Browse files
committed
remove redundant test here
1 parent 6bf3c7c commit 3dd5082

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

spec/concurrent/dataflow_spec.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -221,23 +221,6 @@ def fib_with_dot(n)
221221
expect(expected.value).to eq 377
222222
end
223223

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-
end
235-
236-
expected = fib_with_colons(14)
237-
sleep(0.1)
238-
expect(expected.value).to eq 377
239-
end
240-
241224
it 'dataflow! raises exceptions from dependencies, and dataflow doesn\'t' do
242225

243226
def raiser

0 commit comments

Comments
 (0)