Skip to content

Commit e1e903c

Browse files
Exclude slow tests from miri
1 parent 8d07261 commit e1e903c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

library/coretests/tests/char.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ fn test_is_cased() {
5252
}
5353

5454
#[test]
55+
#[cfg_attr(miri, ignore)] // Miri is too slow
5556
fn test_char_case() {
5657
for c in '\0'..='\u{10FFFF}' {
5758
match c.case() {
@@ -100,6 +101,7 @@ fn titlecase_fast_path() {
100101
}
101102

102103
#[test]
104+
#[cfg_attr(miri, ignore)] // Miri is too slow
103105
fn at_most_one_case() {
104106
for c in '\0'..='\u{10FFFF}' {
105107
assert_eq!(

0 commit comments

Comments
 (0)