mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
nl: make --no-renumber a flag
This commit is contained in:
parent
6e3ab23183
commit
fee5225cb6
3 changed files with 10 additions and 2 deletions
|
@ -71,3 +71,10 @@ fn test_sections_and_styles() {
|
|||
}
|
||||
// spell-checker:enable
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_no_renumber() {
|
||||
for arg in ["-p", "--no-renumber"] {
|
||||
new_ucmd!().arg(arg).succeeds();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue