Add test to ensure that keywords in path are working
This commit is contained in:
parent
299e8ee25e
commit
5c6c1e110f
1 changed files with 16 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
const QUERY = ['A::B', 'A::B,C', 'A::B<f>,C'];
|
||||
const QUERY = ['A::B', 'A::B,C', 'A::B<f>,C', 'mod::a'];
|
||||
|
||||
const PARSED = [
|
||||
{
|
||||
|
@ -72,4 +72,19 @@ const PARSED = [
|
|||
userQuery: 'a::b<f>,c',
|
||||
error: null,
|
||||
},
|
||||
{
|
||||
elems: [{
|
||||
name: "mod::a",
|
||||
fullPath: ["mod", "a"],
|
||||
pathWithoutLast: ["mod"],
|
||||
pathLast: "a",
|
||||
generics: [],
|
||||
}],
|
||||
foundElems: 1,
|
||||
original: "mod::a",
|
||||
returned: [],
|
||||
typeFilter: -1,
|
||||
userQuery: "mod::a",
|
||||
error: null,
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue