summaryrefslogtreecommitdiffstats
path: root/tests/file_ini.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-07-20 19:33:54 +0200
committerMatthias Beyer <mail@beyermatthias.de>2023-07-20 19:34:54 +0200
commite8fd988a7ec39d0a7c60a6300b34865bbccec4a0 (patch)
treee240c2541f2681e17d27dc2a62e9db82bca7bfbf /tests/file_ini.rs
parente4f33550380e57390c0baee975cd5d5c20be41ba (diff)
Fix test for fixed error message in rust-ini
In https://github.com/zonyitoo/rust-ini/pull/95 the reported line and column was fixed in rust-ini. This patch adapts for this change. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests/file_ini.rs')
-rw-r--r--tests/file_ini.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_ini.rs b/tests/file_ini.rs
index e7f369a..7561bff 100644
--- a/tests/file_ini.rs
+++ b/tests/file_ini.rs
@@ -61,7 +61,7 @@ fn test_error_parse() {
assert_eq!(
res.unwrap_err().to_string(),
format!(
- r#"2:0 expecting "[Some('='), Some(':')]" but found EOF. in {}"#,
+ r#"3:1 expecting "[Some('='), Some(':')]" but found EOF. in {}"#,
path.display()
)
);