Handle separators in their own functions and fix missing handling of tabs
This commit is contained in:
parent
da829d8d9d
commit
e03a950747
4 changed files with 235 additions and 4 deletions
|
@ -27,6 +27,7 @@ const QUERY = [
|
|||
"aaaaa<>b",
|
||||
"fn:aaaaa<>b",
|
||||
"->a<>b",
|
||||
"a<->",
|
||||
];
|
||||
|
||||
const PARSED = [
|
||||
|
@ -282,4 +283,13 @@ const PARSED = [
|
|||
userQuery: '->a<>b',
|
||||
error: 'Expected `,` or ` `, found `b`',
|
||||
},
|
||||
{
|
||||
elems: [],
|
||||
foundElems: 0,
|
||||
original: 'a<->',
|
||||
returned: [],
|
||||
typeFilter: -1,
|
||||
userQuery: 'a<->',
|
||||
error: 'Unexpected `-` after `<`',
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue