mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
printf: Ignore thousand seperator flag
This commit is contained in:
parent
ef7a8c300e
commit
7df22051ea
2 changed files with 17 additions and 1 deletions
|
@ -337,6 +337,16 @@ fn sub_num_int_char_const_in() {
|
|||
.stdout_only("emoji is 128579");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sub_num_thousands() {
|
||||
// For "C" locale, the thousands separator is ignored but should
|
||||
// not result in an error
|
||||
new_ucmd!()
|
||||
.args(&["%'i", "123456"])
|
||||
.succeeds()
|
||||
.stdout_only("123456");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sub_num_uint() {
|
||||
new_ucmd!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue