Commit e4d6f647 authored by Tom Niget's avatar Tom Niget

Add test

parent 1cd8d2d4
...@@ -20,6 +20,7 @@ def fork(f: Callable[[], T]) -> Task[Forked[T]]: ...@@ -20,6 +20,7 @@ def fork(f: Callable[[], T]) -> Task[Forked[T]]:
get = f get = f
return Res return Res
assert fork(lambda: 1).get
def future(f: Callable[[], T]) -> Task[Future[T]]: def future(f: Callable[[], T]) -> Task[Future[T]]:
# stub # stub
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment