mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Remove keep_env
from the test framework
This commit is contained in:
parent
cc77a952f5
commit
81a4e8fb7d
10 changed files with 36 additions and 81 deletions
|
@ -153,11 +153,9 @@ fn test_null_delimiter() {
|
|||
|
||||
#[test]
|
||||
fn test_unset_variable() {
|
||||
// This test depends on the HOME variable being pre-defined by the
|
||||
// default shell
|
||||
let out = TestScenario::new(util_name!())
|
||||
.ucmd()
|
||||
.keep_env()
|
||||
.env("HOME", "FOO")
|
||||
.arg("-u")
|
||||
.arg("HOME")
|
||||
.succeeds()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue