Closed firepear closed 9 years ago
coverage: 92.1% of statements
Added coverage for AddHandler() error cases. 93.7%
Is it possible to get setConnTimeout() to error? Via setting a negative value on a.t maybe? It's an int64, so I can't just pass it a string or anything...
Oh right. No. Because a negative value becomes a positive timeout on a one-shot connection. Pretty sure that's all dead code and setConnTimeout() shouldn't return anything.
Done. 96.7%.
Added coverage for handling of nil commands. 99.2%, which is as good as it gets now.
There is some new code without tests, but I am really tired and want to call 0.16 done. Catch that up in 0.17.