1
Fork 0
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:
Joseph Jon Booker 2025-04-08 22:18:35 -05:00
parent 8ff45c97f0
commit 9f1e7a2075

View file

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