Skip to content

Commit

Permalink
fix: broken test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouven Himmelstein committed Apr 9, 2024
1 parent 8ef4126 commit f255b0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2374,7 +2374,11 @@ bar = f
let mut buf = Vec::new();
ini.write_to(&mut buf).unwrap();
let ini_str = String::from_utf8(buf).unwrap();
assert_eq!(ini_str, "[foo]\na=1\na=2\n");
let expected = r#"[foo]
a=1
a=2
"#;
assert_eq!(ini_str, expected);
}

#[test]
Expand Down

0 comments on commit f255b0d

Please sign in to comment.