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

Function one_named

tests/unit/named_args_internals.rs:231–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229
230#[test]
231fn one_named() {
232 let (named, pos) = parse_existing_args("name: $x, ");
233 assert_eq!(named, vec!["name"]);
234 assert_eq!(pos, 0);
235}
236
237#[test]
238fn mixed_positional_and_named() {

Callers

nothing calls this directly

Calls 1

parse_existing_argsFunction · 0.85

Tested by

no test coverage detected