()
| 389 | |
| 390 | #[test] |
| 391 | fn unexpected_eof_no_expected() { |
| 392 | let file_id = FileId::new("test.php"); |
| 393 | let err = ParseError::UnexpectedEndOfFile(Box::new([]), file_id, pos(50)); |
| 394 | let msg = format_parse_error(&err); |
| 395 | assert_eq!(msg, "Syntax error: unexpected end of file"); |
| 396 | } |
| 397 | |
| 398 | #[test] |
| 399 | fn unclosed_single_quoted_string() { |
nothing calls this directly
no test coverage detected