bitly / statsdaemon

an implementation of Etsy's statsd in Go
The Unlicense
570 stars 131 forks source link

Tests for packet handling #39

Closed JamesCohen-awin closed 9 years ago

JamesCohen-awin commented 9 years ago

When I was working on adding some features recently I saw that func monitor() wasn't easy to test so I broke out the part of it that handles Packets from In and wrote some tests for it to provide full coverage for the new function packetHandler()

mreiferson commented 9 years ago

yea, this is a welcome change, thanks