summaryrefslogtreecommitdiff
path: root/src/cargo_toml.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargo_toml.rs')
-rw-r--r--src/cargo_toml.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cargo_toml.rs b/src/cargo_toml.rs
index e966809..ce0dfd0 100644
--- a/src/cargo_toml.rs
+++ b/src/cargo_toml.rs
@@ -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" },