1 // These tests are only run for the "default" test target because some of them
2 // can take quite a long time. Some of them take long enough that it's not
3 // practical to run them in debug mode. :-/
4 
5 // See: https://oss-fuzz.com/testcase-detail/5673225499181056
6 //
7 // Ignored by default since it takes too long in debug mode (almost a minute).
8 #[test]
9 #[ignore]
fuzz1()10 fn fuzz1() {
11     regex!(r"1}{55}{0}*{1}{55}{55}{5}*{1}{55}+{56}|;**");
12 }
13 
14 // See: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26505
15 // See: https://github.com/rust-lang/regex/issues/722
16 #[test]
empty_any_errors_no_panic()17 fn empty_any_errors_no_panic() {
18     assert!(regex_new!(r"\P{any}").is_err());
19 }
20