mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
wc: more tests
This commit is contained in:
parent
a97b574fec
commit
967c539cc6
1 changed files with 8 additions and 0 deletions
|
@ -243,6 +243,14 @@ fn test_single_only_lines() {
|
||||||
.stdout_is("18 moby_dick.txt\n");
|
.stdout_is("18 moby_dick.txt\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_single_only_bytes() {
|
||||||
|
new_ucmd!()
|
||||||
|
.args(&["-c", "lorem_ipsum.txt"])
|
||||||
|
.run()
|
||||||
|
.stdout_is("772 lorem_ipsum.txt\n");
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_single_all_counts() {
|
fn test_single_all_counts() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue