mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 21:47:46 +00:00
Add a test for the 'env -' case
This commit is contained in:
parent
bff831f376
commit
c32e21fc01
1 changed files with 8 additions and 0 deletions
|
@ -35,6 +35,14 @@ fn test_ignore_environment() {
|
|||
|
||||
let out = str::from_utf8(&po.stdout[..]).unwrap();
|
||||
assert_eq!(out, "");
|
||||
|
||||
let po = Command::new(PROGNAME)
|
||||
.arg("-")
|
||||
.output()
|
||||
.unwrap_or_else(|err| panic!("{}", err));
|
||||
|
||||
let out = str::from_utf8(&po.stdout[..]).unwrap();
|
||||
assert_eq!(out, "");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue