We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3166b06 commit 724528dCopy full SHA for 724528d
1 file changed
tests/by-util/test_numfmt.rs
@@ -1549,3 +1549,13 @@ fn test_si_format_precision_no_cap() {
1549
.succeeds()
1550
.stdout_is("1.23457M\n");
1551
}
1552
+
1553
+// https://github.com/uutils/coreutils/issues/11937
1554
+// numfmt: --format width accounting diverges from GNU for multi-byte --suffix
1555
+#[test]
1556
+fn test_multibyte_suffix_issue11937() {
1557
+ new_ucmd!()
1558
+ .args(&["--suffix=€", "--format=%10.2f", "692"])
1559
+ .succeeds()
1560
+ .stdout_is(" 692.00€\n");
1561
+}
0 commit comments