Skip to content

Commit

Permalink
uucore_procs: tests: fix expected usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bbara committed Feb 16, 2023
1 parent f610f33 commit aaaf57c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uucore_procs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -254,7 +254,7 @@ mod tests {
```\
"
),
"{} [some] [options]"
"{} [some] [options]\n"
);
}
}

0 comments on commit aaaf57c

Please sign in to comment.