Skip to content

Commit

Permalink
fix: broken tests for windows build
Browse files Browse the repository at this point in the history
replace with a CRLF fix
  • Loading branch information
iiian committed May 2, 2024
1 parent 932a32a commit 06104f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,10 @@ x1 = na
x3 = nb
";
let data = Ini::load_from_str(input).unwrap();
let exp = "x2=nc\nx1=na\nx3=nb\n";
let exp = r"x2=nc
x1=na
x3=nb
";
assert_eq!(data.to_string(), exp);
let mut my_str = String::new();
let _ = data.write_to_fmt(&mut my_str);
Expand Down

0 comments on commit 06104f7

Please sign in to comment.