Split lines after newline

This commit is contained in:
mo8it
2025-07-04 23:22:05 +02:00
parent 9fecdba101
commit 1a633e2757
4 changed files with 33 additions and 11 deletions
+8 -1
View File
@@ -134,7 +134,14 @@ mod tests {
);
assert_eq!(
updated_cargo_toml(&exercise_infos, "abc\nbin = [xxx]\n123", b"../").unwrap(),
updated_cargo_toml(
&exercise_infos,
"abc\n\
bin = [xxx]\n\
123",
b"../"
)
.unwrap(),
br#"abc
bin = [
{ name = "1", path = "../exercises/1.rs" },