chore: fix hindi truncation tests and bump deps (#6271)

* chore: fix hindi trunc test

* chore: bump deps
This commit is contained in:
David Knaack
2024-09-28 13:41:35 +02:00
committed by GitHub
parent 36134d896b
commit 8419c677f1
4 changed files with 12 additions and 13 deletions
+2 -2
View File
@@ -204,12 +204,12 @@ mod tests {
#[test]
fn test_hindi_truncation() -> io::Result<()> {
test_truncate_length("नमस्ते", 3, "नमस्", "")
test_truncate_length("नमस्ते", 2, "नम", "")
}
#[test]
fn test_hindi_truncation2() -> io::Result<()> {
test_truncate_length("नमस्त", 3, "नमस्", "")
test_truncate_length("नमस्त", 2, "नम", "")
}
#[test]
+2 -2
View File
@@ -81,12 +81,12 @@ mod tests {
#[test]
fn test_hindi_truncation() {
test_truncate_length("नमस्ते", 3, "नमस्", "")
test_truncate_length("नमस्ते", 2, "नम", "")
}
#[test]
fn test_hindi_truncation2() {
test_truncate_length("नमस्त", 3, "नमस्", "")
test_truncate_length("नमस्त", 2, "नम", "")
}
#[test]