()
| 444 | |
| 445 | #[test] |
| 446 | fn non_graphic_byte() { |
| 447 | let file_id = FileId::new("test.php"); |
| 448 | let err = ParseError::SyntaxError(SyntaxError::UnexpectedToken(file_id, 0x01, pos(0))); |
| 449 | let msg = format_parse_error(&err); |
| 450 | assert_eq!(msg, "Syntax error: unexpected byte 0x01"); |
| 451 | } |
| 452 | } |
nothing calls this directly
no test coverage detected