aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/invalid.rs
diff options
context:
space:
mode:
authorAndres Suarez <zertosh@gmail.com>2019-07-30 17:20:18 +0000
committerAndres Suarez <zertosh@gmail.com>2019-07-30 13:35:08 -0400
commit144e1d0f90f3e83e7e3cf0764869c2bbef687397 (patch)
tree53ebe73de9653c1e5084ad99a7613f76e900ad32 /test-suite/tests/invalid.rs
parent59aa7214f0c76f95f192f5b4641342ebd740f567 (diff)
downloadmilf-rs-144e1d0f90f3e83e7e3cf0764869c2bbef687397.tar.gz
milf-rs-144e1d0f90f3e83e7e3cf0764869c2bbef687397.zip
Add line and column to all Errors
Diffstat (limited to 'test-suite/tests/invalid.rs')
-rw-r--r--test-suite/tests/invalid.rs10
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,