Skip to content

Commit e8fd988

Browse files
committed
Fix test for fixed error message in rust-ini
In zonyitoo/rust-ini#95 the reported line and column was fixed in rust-ini. This patch adapts for this change. Signed-off-by: Matthias Beyer <[email protected]>
1 parent e4f3355 commit e8fd988

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/file_ini.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn test_error_parse() {
6161
assert_eq!(
6262
res.unwrap_err().to_string(),
6363
format!(
64-
r#"2:0 expecting "[Some('='), Some(':')]" but found EOF. in {}"#,
64+
r#"3:1 expecting "[Some('='), Some(':')]" but found EOF. in {}"#,
6565
path.display()
6666
)
6767
);

tests/legacy/file_ini.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn test_error_parse() {
5959
assert_eq!(
6060
res.unwrap_err().to_string(),
6161
format!(
62-
r#"2:0 expecting "[Some('='), Some(':')]" but found EOF. in {}"#,
62+
r#"3:1 expecting "[Some('='), Some(':')]" but found EOF. in {}"#,
6363
path.display()
6464
)
6565
);

0 commit comments

Comments
 (0)