mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
printf: Add integration test for %q ''
This commit is contained in:
@@ -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!()
|
||||
|
||||
Reference in New Issue
Block a user