From 2b3b9365db3acbc8274446ecb93dcf3b96ee1b8e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 2 Apr 2026 21:36:57 +0200 Subject: [PATCH] echo: add multibyte unicode test cases --- tests/by-util/test_echo.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/by-util/test_echo.rs b/tests/by-util/test_echo.rs index 3398708f1..c3c940099 100644 --- a/tests/by-util/test_echo.rs +++ b/tests/by-util/test_echo.rs @@ -825,4 +825,14 @@ fn test_emoji_output() { .args(&["πŸ¦€", "loves", "πŸš€", "and", "🌟"]) .succeeds() .stdout_only("πŸ¦€ loves πŸš€ and 🌟\n"); + + new_ucmd!() + .arg("🍎,🍌,πŸ’,πŸ₯") + .succeeds() + .stdout_only("🍎,🍌,πŸ’,πŸ₯\n"); + + new_ucmd!() + .arg("γ“γ‚“γ«γ‘γ―δΈ–η•Œ") + .succeeds() + .stdout_only("γ“γ‚“γ«γ‘γ―δΈ–η•Œ\n"); }