Exclude slow tests from miri

This commit is contained in:
Jules Bertholet
2026-03-23 08:14:09 -04:00
parent 8d072616a5
commit e1e903c7b7
+2
View File
@@ -52,6 +52,7 @@ fn test_is_cased() {
}
#[test]
#[cfg_attr(miri, ignore)] // Miri is too slow
fn test_char_case() {
for c in '\0'..='\u{10FFFF}' {
match c.case() {
@@ -100,6 +101,7 @@ fn titlecase_fast_path() {
}
#[test]
#[cfg_attr(miri, ignore)] // Miri is too slow
fn at_most_one_case() {
for c in '\0'..='\u{10FFFF}' {
assert_eq!(