Skip to content

Test Failed on field value are included in delimiter. #54

@kamiazya

Description

@kamiazya

Checkout defect-reproduction-1 branch and run npm test

$ npm test
...
 FAIL  src/lib/internal/Lexer.spec.ts > class Lexer > should lex with with user given quotation and delimiter
Error: Property failed after 1 tests
{ seed: 77906161, path: "62:5:4:6:5:5:7:9:5:5:12:11:11:11", endOnFailure: true }
Counterexample: [{"options":{"delimiter":"020","quotation":"3"},"row":["02",""],"csv":"02020","expected":[{"type":Symbol.for("web-csv-toolbox.Field"),"value":"02"},Symbol.for("web-csv-toolbox.FieldDelimiter")]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions