---
source: tests/typing_surface/app_commands.rs
description: "input=\"qu\" cursor=2"
expression: "& a"
---
Assessment {
    input: "qu",
    cursor: 2,
    state: DefiniteErrorAt(
        0,
    ),
    hint: Some(
        Candidates {
            items: [
                Candidate {
                    text: "quit",
                    kind: Keyword,
                    mode: Both,
                },
            ],
            selected: None,
        },
    ),
    completion: Some(
        Completion {
            replaced_range: (
                0,
                2,
            ),
            partial_prefix: "qu",
            candidates: [
                Candidate {
                    text: "quit",
                    kind: Keyword,
                    mode: Both,
                },
            ],
        },
    ),
    parse_result: Err(
        "Invalid(definite)",
    ),
}
