mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
wc: more tests
This commit is contained in:
@@ -243,6 +243,14 @@ fn test_single_only_lines() {
|
||||
.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]
|
||||
fn test_single_all_counts() {
|
||||
new_ucmd!()
|
||||
|
||||
Reference in New Issue
Block a user