()
| 290 | // See: https://github.com/rust-lang/regex/issues/464 |
| 291 | #[test] |
| 292 | fn regression_464() { |
| 293 | let err = Parser::new().parse("a{\n").unwrap_err(); |
| 294 | // This test checks that the error formatter doesn't panic. |
| 295 | assert!(!err.to_string().is_empty()); |
| 296 | } |
| 297 | } |