Skip to content

Instantly share code, notes, and snippets.

@jasonjckn
Created May 20, 2011 16:56
I want to call the server handler in a unit test:
(defn handler [ch _] (receive-all ch print) (enqueue ch "hi"))
calling (handler (channel 1 2 3)) causes output: 123hi
passing in pair-channel causes exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment