1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 13:07:46 +00:00

Merge pull request #6810 from cakebaker/echo_remove_double_negation

echo: remove double negation
This commit is contained in:
Terts Diepraam 2024-10-23 10:24:26 +02:00 committed by GitHub
commit 6850be2539
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 11 deletions

View file

@ -13,12 +13,7 @@ fn test_default() {
#[test]
fn test_no_trailing_newline() {
new_ucmd!()
.arg("-n")
.arg("hi")
.succeeds()
.no_stderr()
.stdout_only("hi");
new_ucmd!().arg("-n").arg("hi").succeeds().stdout_only("hi");
}
#[test]