diff options
author | Alex Gulyás <gulyas.alex@gmail.com> | 2015-08-14 14:39:59 +0200 |
---|---|---|
committer | Alex Gulyás <gulyas.alex@gmail.com> | 2015-08-14 14:39:59 +0200 |
commit | 0f0746396a67028d4a58071e7b1a6ae26c9f6954 (patch) | |
tree | 456ad301ee799c34c6590d6f58bff2803bf3bf99 /tests/invalid/text-before-array-separator.toml | |
parent | 13513f95b607949b071b484a09701a7662395bab (diff) | |
download | milf-rs-0f0746396a67028d4a58071e7b1a6ae26c9f6954.tar.gz milf-rs-0f0746396a67028d4a58071e7b1a6ae26c9f6954.zip |
Add a very simple test for Parser::to_linecol.
This test shows that in some cases converting error offsets generated by
the parser to line and column numbers will panic ('arithmetic operation
overflowed') in debug mode, and return an incorrect column number in
release mode.
Diffstat (limited to 'tests/invalid/text-before-array-separator.toml')
0 files changed, 0 insertions, 0 deletions