()
| 397 | |
| 398 | #[test] |
| 399 | fn unclosed_single_quoted_string() { |
| 400 | use mago_syntax::ast::LiteralStringKind; |
| 401 | let err = ParseError::UnclosedLiteralString(LiteralStringKind::SingleQuoted, span(5, 20)); |
| 402 | let msg = format_parse_error(&err); |
| 403 | assert_eq!(msg, "Syntax error: unclosed single-quoted string"); |
| 404 | } |
| 405 | |
| 406 | #[test] |
| 407 | fn unclosed_double_quoted_string() { |
nothing calls this directly
no test coverage detected