MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / unclosed_double_quoted_string

Function unclosed_double_quoted_string

src/parser/error_format.rs:407–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

spanFunction · 0.85
format_parse_errorFunction · 0.85

Tested by

no test coverage detected