mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
printf: Test formatting hex with padding
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user