mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests/tail: add test for as an alias for stdin
This commit is contained in:
parent
940559f0e1
commit
6127ea9642
1 changed files with 9 additions and 0 deletions
|
@ -23,6 +23,15 @@ fn test_stdin_default() {
|
||||||
.stdout_is_fixture("foobar_stdin_default.expected");
|
.stdout_is_fixture("foobar_stdin_default.expected");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_stdin_explicit() {
|
||||||
|
new_ucmd!()
|
||||||
|
.pipe_in_fixture(FOOBAR_TXT)
|
||||||
|
.arg("-")
|
||||||
|
.run()
|
||||||
|
.stdout_is_fixture("foobar_stdin_default.expected");
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_single_default() {
|
fn test_single_default() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue