add more emoji tests

This commit is contained in:
Sylvestre Ledru
2025-09-03 22:39:21 +02:00
parent 1ed74336f5
commit 3ed1f47de3
9 changed files with 146 additions and 0 deletions
+8
View File
@@ -1453,3 +1453,11 @@ fn non_utf_8_input() {
.fails()
.stderr_contains("expected a numeric value");
}
#[test]
fn test_emoji_formatting() {
new_ucmd!()
.args(&["Status: %s 🎯 Count: %d\n", "Success 🚀", "42"])
.succeeds()
.stdout_only("Status: Success 🚀 🎯 Count: 42\n");
}