mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
tests/env: add empty name test
This commit is contained in:
parent
c58bd9f569
commit
f9512e5a90
1 changed files with 9 additions and 0 deletions
|
@ -108,6 +108,15 @@ fn test_ignore_environment() {
|
||||||
scene.ucmd().arg("-").run().no_stdout();
|
scene.ucmd().arg("-").run().no_stdout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_empty_name() {
|
||||||
|
new_ucmd!()
|
||||||
|
.arg("-i")
|
||||||
|
.arg("=xyz")
|
||||||
|
.run()
|
||||||
|
.stderr_only("env: warning: no name specified for value 'xyz'");
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_null_delimiter() {
|
fn test_null_delimiter() {
|
||||||
let out = new_ucmd!()
|
let out = new_ucmd!()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue