Fix for multibyte characters in file path

This commit is contained in:
Haris Mohamedy committed 2025-03-31 17:29:18 -07:00
1 parent f761ff6824
commit 18b71743c8
6 files changed
+27 -6

No files matched your search

+11
View File
@@ -1600,6 +1600,17 @@ oken
.stderr("");
}
#[test]
fn header_narrow_terminal_with_multibyte_chars() {
bat()
.arg("--terminal-width=30")
.arg("--decorations=always")
.arg("test.A—B가")
.assert()
.success()
.stderr("");
}
#[test]
#[cfg(feature = "git")] // Expected output assumes git is enabled
fn header_default() {