1
Fork 0
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:
Miles Liu 2023-03-24 10:52:02 +08:00
parent cc77a952f5
commit 81a4e8fb7d
No known key found for this signature in database
GPG key ID: 4DB9B32F9B24A7A9
10 changed files with 36 additions and 81 deletions

View file

@ -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()