Closed dubek closed 9 years ago
I agree the test isn't useful. I wrote it for myself since you obviously pointed out something I misunderstood. Thanks for all the help. Sending this up.
On Wed, Sep 23, 2015 at 11:26 AM Dov Murik notifications@github.com wrote:
Similar to #28 https://github.com/dustin/go-coap/pull/28.
I don't think adding unit-tests for this makes sense, but if you want me to add them (like you did in 0fab82a https://github.com/dustin/go-coap/commit/0fab82afe2a86ec1d48738bcd5d21c4c7aa5bc5b
for MediaType), I'll add to this pull request.
You can view, comment on, or merge this pull request online at:
https://github.com/dustin/go-coap/pull/30 Commit Summary
- Add COAPType, COAPCode, OptionID type to all consts
File Changes
- M message.go https://github.com/dustin/go-coap/pull/30/files#diff-0 (82)
Patch Links:
— Reply to this email directly or view it on GitHub https://github.com/dustin/go-coap/pull/30.
Similar to #28.
I don't think adding unit-tests for this makes sense, but if you want me to add them (like you did in 0fab82afe2a86ec1d48738bcd5d21c4c7aa5bc5b for
MediaType
), I'll add to this pull request.