diff options
author | Eduardo Julian | 2018-12-15 20:52:26 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-12-15 20:52:26 -0400 |
commit | 43cca9e6b4f25a0a731ba4262e1ee7fae0c6dab7 (patch) | |
tree | b4c49855a827493e0f11654f1c63218836ec2329 /stdlib/test | |
parent | 00b9d6913fd39266208c7c8b61250967bb0f6636 (diff) |
Separated reading promises and writing to promises.
Diffstat (limited to 'stdlib/test')
-rw-r--r-- | stdlib/test/test/lux/control/concurrency/promise.lux | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stdlib/test/test/lux/control/concurrency/promise.lux b/stdlib/test/test/lux/control/concurrency/promise.lux index d666f3b31..0ea05c46a 100644 --- a/stdlib/test/test/lux/control/concurrency/promise.lux +++ b/stdlib/test/test/lux/control/concurrency/promise.lux @@ -55,10 +55,6 @@ (|> (&.poll (&.delay 200 #1)) (case> #.None #1 _ #0)))) - (test "Cannot re-resolve a resolved promise." - (and (not (io.run (&.resolve #0 (&/wrap #1)))) - (io.run (&.resolve #1 (: (&.Promise Bit) (&.promise #.None)))))) - (wrap (do &.Monad<Promise> [?none (&.time-out 100 (&.delay 200 #1)) ?some (&.time-out 200 (&.delay 100 #1))] |