diff options
author | Alex Crichton <alex@alexcrichton.com> | 2019-08-12 15:35:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-12 15:35:35 -0500 |
commit | 72881c2a06f9c51377d8a13f7d6bd0be36171b55 (patch) | |
tree | dfed9914f8deb222d3204cfb494d6695fe786ea9 /test-suite/tests/invalid.rs | |
parent | fa9740540f7a13675b578d6cde84d65aeb03e0b5 (diff) | |
parent | 144e1d0f90f3e83e7e3cf0764869c2bbef687397 (diff) | |
download | milf-rs-72881c2a06f9c51377d8a13f7d6bd0be36171b55.tar.gz milf-rs-72881c2a06f9c51377d8a13f7d6bd0be36171b55.zip |
Merge pull request #314 from zertosh/add-line-and-col-to-errors
Add line and column to all Errors
Diffstat (limited to 'test-suite/tests/invalid.rs')
-rw-r--r-- | test-suite/tests/invalid.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test-suite/tests/invalid.rs b/test-suite/tests/invalid.rs index bfde2d4..3312629 100644 --- a/test-suite/tests/invalid.rs +++ b/test-suite/tests/invalid.rs @@ -32,7 +32,7 @@ test!( test!( datetime_malformed_no_leads, include_str!("invalid/datetime-malformed-no-leads.toml"), - "failed to parse datetime for key `no-leads`" + "failed to parse datetime for key `no-leads` at line 1 column 12" ); test!( datetime_malformed_no_secs, @@ -42,22 +42,22 @@ test!( test!( datetime_malformed_no_t, include_str!("invalid/datetime-malformed-no-t.toml"), - "failed to parse datetime for key `no-t`" + "failed to parse datetime for key `no-t` at line 1 column 8" ); test!( datetime_malformed_with_milli, include_str!("invalid/datetime-malformed-with-milli.toml"), - "failed to parse datetime for key `with-milli`" + "failed to parse datetime for key `with-milli` at line 1 column 14" ); test!( duplicate_key_table, include_str!("invalid/duplicate-key-table.toml"), - "duplicate key: `type` for key `fruit`" + "duplicate key: `type` for key `fruit` at line 4 column 1" ); test!( duplicate_keys, include_str!("invalid/duplicate-keys.toml"), - "duplicate key: `dupe`" + "duplicate key: `dupe` at line 1 column 1" ); test!( duplicate_table, |