aboutsummaryrefslogtreecommitdiff
path: root/tests/invalid/duplicate-key-table.toml
diff options
context:
space:
mode:
authorAlex Gulyás <gulyas.alex@gmail.com>2015-08-14 14:39:59 +0200
committerAlex Gulyás <gulyas.alex@gmail.com>2015-08-14 14:39:59 +0200
commit0f0746396a67028d4a58071e7b1a6ae26c9f6954 (patch)
tree456ad301ee799c34c6590d6f58bff2803bf3bf99 /tests/invalid/duplicate-key-table.toml
parent13513f95b607949b071b484a09701a7662395bab (diff)
downloadmilf-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/duplicate-key-table.toml')
0 files changed, 0 insertions, 0 deletions