ToxicFrog / vstruct

A Lua library for packing and unpacking binary data, supporting arbitrary (byte-aligned) widths, named fields, and repetition.
https://github.com/ToxicFrog/vstruct
Other
110 stars 14 forks source link

Tests should test error handling #17

Closed ToxicFrog closed 11 years ago

ToxicFrog commented 11 years ago

At present, test coverage for error handling is lacking. Tests should expose vstruct to various error conditions (invalid arguments, malformed format strings, buffer underruns, etc) and verify that it reports the errors appropriately.

ToxicFrog commented 11 years ago

This was fixed sometime around 286eead17bec2e67e08f7bd255053233b829b528