()
| 373 | |
| 374 | #[test] |
| 375 | fn unexpected_token_no_expected() { |
| 376 | let err = ParseError::UnexpectedToken(Box::new([]), TokenKind::At, span(0, 1)); |
| 377 | let msg = format_parse_error(&err); |
| 378 | assert_eq!(msg, "Syntax error: unexpected token `@`"); |
| 379 | } |
| 380 | |
| 381 | #[test] |
| 382 | fn unexpected_eof_with_expected() { |
nothing calls this directly
no test coverage detected