diff --git a/src/uucore_procs/src/lib.rs b/src/uucore_procs/src/lib.rs index 1a452254a78..f93254678c3 100644 --- a/src/uucore_procs/src/lib.rs +++ b/src/uucore_procs/src/lib.rs @@ -244,7 +244,7 @@ mod tests { This is the other section\n\ with multiple lines\n"; - assert_eq!(parse_usage(&parse_help_section("usage", input)), "{} -l",); + assert_eq!(parse_usage(&parse_help_section("usage", input)), "{} -l\n",); assert_eq!( parse_usage( @@ -254,7 +254,7 @@ mod tests { ```\ " ), - "{} [some] [options]" + "{} [some] [options]\n" ); } }