---
source: tests/typing_surface/create_table.rs
assertion_line: 89
description: "input=\"create table Customers with pk Code(\" cursor=36"
expression: "& a"
---
Assessment {
    input: "create table Customers with pk Code(",
    cursor: 36,
    state: IncompleteAtEof,
    hint: Some(
        Candidates {
            items: [
                Candidate {
                    text: "text",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "int",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "real",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "decimal",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "bool",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "date",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "datetime",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "serial",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "shortid",
                    kind: Keyword,
                    mode: Both,
                },
            ],
            selected: None,
        },
    ),
    completion: Some(
        Completion {
            replaced_range: (
                36,
                36,
            ),
            partial_prefix: "",
            candidates: [
                Candidate {
                    text: "text",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "int",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "real",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "decimal",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "bool",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "date",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "datetime",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "serial",
                    kind: Keyword,
                    mode: Both,
                },
                Candidate {
                    text: "shortid",
                    kind: Keyword,
                    mode: Both,
                },
            ],
        },
    ),
    parse_result: Err(
        "Invalid(at_eof)",
    ),
}
