Created
May 20, 2011 16:56
-
-
Save jasonjckn/983316 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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