1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

printf: Test formatting hex with padding

This commit is contained in:
Teemu Pätsi 2025-06-15 00:26:29 +03:00
parent 8c86b83afb
commit cf7255f085
No known key found for this signature in database
GPG key ID: 5494F73B045AB692

View file

@ -906,6 +906,10 @@ fn pad_unsigned_three() {
("%#.3x", "0x003"),
("%#.3X", "0X003"),
("%#.3o", "003"),
("%#05x", "0x003"),
("%#05X", "0X003"),
("%3x", " 3"),
("%3X", " 3"),
] {
new_ucmd!()
.args(&[format, "3"])