()
| 413 | |
| 414 | #[test] |
| 415 | fn recursion_limit() { |
| 416 | let err = ParseError::RecursionLimitExceeded(span(0, 100)); |
| 417 | let msg = format_parse_error(&err); |
| 418 | assert_eq!(msg, "Syntax error: maximum nesting depth exceeded"); |
| 419 | } |
| 420 | |
| 421 | #[test] |
| 422 | fn syntax_error_unexpected_char() { |
nothing calls this directly
no test coverage detected