mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
printf: Add integration test for %q ''
This commit is contained in:
parent
8ff45c97f0
commit
9f1e7a2075
1 changed files with 5 additions and 0 deletions
|
@ -242,6 +242,11 @@ fn sub_q_string_special_non_printable() {
|
|||
.stdout_only("non-printable: test~");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sub_q_string_empty() {
|
||||
new_ucmd!().args(&["%q", ""]).succeeds().stdout_only("''");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sub_char() {
|
||||
new_ucmd!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue