2023-06-12 21:56:54 +00:00
|
|
|
// exact-check
|
|
|
|
|
|
|
|
const EXPECTED = [
|
2024-09-06 00:58:05 +00:00
|
|
|
{
|
|
|
|
'query': '! ->',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'never_search', 'name': 'impossible' },
|
|
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
|
|
],
|
|
|
|
},
|
2023-06-12 21:56:54 +00:00
|
|
|
{
|
|
|
|
'query': '-> !',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'never_search', 'name': 'loops' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': '-> never',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'never_search', 'name': 'loops' },
|
|
|
|
{ 'path': 'never_search', 'name': 'returns' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': '!',
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'never_search', 'name': 'impossible' },
|
|
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'never',
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'never_search', 'name': 'impossible' },
|
|
|
|
{ 'path': 'never_search', 'name': 'uninteresting' },
|
|
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
|
|
{ 'path': 'never_search', 'name': 'box_uninteresting' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'box<!>',
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'box<never>',
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
|
|
{ 'path': 'never_search', 'name': 'box_uninteresting' },
|
|
|
|
],
|
|
|
|
},
|
2023-09-23 00:27:06 +00:00
|
|
|
{
|
|
|
|
'query': 'box<item=!>',
|
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'box<item=never>',
|
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
2023-06-12 21:56:54 +00:00
|
|
|
];
|