()
| 389 | |
| 390 | #[test] |
| 391 | fn context_multiline() { |
| 392 | let content = "<?php\nfoo(\n $x,\n "; |
| 393 | let pos = Position { |
| 394 | line: 3, |
| 395 | character: 4, |
| 396 | }; |
| 397 | let ctx = detect_named_arg_context(content, pos); |
| 398 | assert!(ctx.is_some()); |
| 399 | let ctx = ctx.unwrap(); |
| 400 | assert_eq!(ctx.call_expression, "foo"); |
| 401 | assert_eq!(ctx.positional_count, 1); |
| 402 | } |
| 403 | |
| 404 | // ── build_named_arg_completions ───────────────────────────────── |
| 405 |
nothing calls this directly
no test coverage detected