Add test for unclosed generic
This commit is contained in:
parent
51e976948d
commit
823671589f
@ -39,6 +39,7 @@ const QUERY = [
|
|||||||
"a!!",
|
"a!!",
|
||||||
"mod:a!",
|
"mod:a!",
|
||||||
"a!::a",
|
"a!::a",
|
||||||
|
"a<",
|
||||||
];
|
];
|
||||||
|
|
||||||
const PARSED = [
|
const PARSED = [
|
||||||
@ -402,4 +403,13 @@ const PARSED = [
|
|||||||
userQuery: "a!::a",
|
userQuery: "a!::a",
|
||||||
error: 'Cannot have associated items in macros',
|
error: 'Cannot have associated items in macros',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
elems: [],
|
||||||
|
foundElems: 0,
|
||||||
|
original: "a<",
|
||||||
|
returned: [],
|
||||||
|
typeFilter: -1,
|
||||||
|
userQuery: "a<",
|
||||||
|
error: "Unclosed `<`",
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user