From 43cca9e6b4f25a0a731ba4262e1ee7fae0c6dab7 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 15 Dec 2018 20:52:26 -0400 Subject: Separated reading promises and writing to promises. --- stdlib/test/test/lux/control/concurrency/promise.lux | 4 ---- 1 file changed, 4 deletions(-) (limited to 'stdlib/test') 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 [?none (&.time-out 100 (&.delay 200 #1)) ?some (&.time-out 200 (&.delay 100 #1))] -- cgit v1.2.3