That can't actually work since the go block doesn't receive the done fn to proceed to the next test.
David On Mon, Jan 5, 2015 at 7:13 PM, James MacAulay <[email protected]> wrote: > On Monday, 5 January 2015 14:30:35 UTC-5, David Nolen wrote: >> The test runners should check for satisfies? IAsyncTest do nothing if >> that's the return value of the test. Invoking done will gather >> reporting information and invoke the next test. > > Ooo nice idea, then we could just extend core.async's ManyToManyChannel with > an implementation of IAsyncTest and that would let us use go blocks like in > my aforementioned macro: > > (deftest foo > (go > (is (= 1 (<! (async/to-chan [1])))))) > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
