nytlabs/streamtools — pull request #522 by jacqui (2014-07-09 15:46:28+00:00)
Title: Split NSQ test into separate functions for writing to and reading from topics/channels

the nsq test was totally janky, I believe it was the first test I tried to write in go. Since it was testing the toNSQ and fromNSQ blocks in the same function, it would often run the fromNSQ before the toNSQ.

I separated it out into two functions and it passes now.