()
| 405 | |
| 406 | #[test] |
| 407 | fn unclosed_double_quoted_string() { |
| 408 | use mago_syntax::ast::LiteralStringKind; |
| 409 | let err = ParseError::UnclosedLiteralString(LiteralStringKind::DoubleQuoted, span(5, 20)); |
| 410 | let msg = format_parse_error(&err); |
| 411 | assert_eq!(msg, "Syntax error: unclosed double-quoted string"); |
| 412 | } |
| 413 | |
| 414 | #[test] |
| 415 | fn recursion_limit() { |
nothing calls this directly
no test coverage detected