mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:01:17 +01:00
32500aa8e0
This is the "smartcase" behavior, described by vim and dtolnay.
18 lines
505 B
JavaScript
18 lines
505 B
JavaScript
const EXPECTED = [
|
|
{
|
|
'query': 'Foo',
|
|
'others': [
|
|
{ 'path': 'case', 'name': 'Foo', 'desc': 'Docs for Foo' },
|
|
{ 'path': 'case', 'name': 'foo', 'desc': 'Docs for foo' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'foo',
|
|
'others': [
|
|
// https://github.com/rust-lang/rust/issues/133017
|
|
{ 'path': 'case', 'name': 'Foo', 'desc': 'Docs for Foo' },
|
|
{ 'path': 'case', 'name': 'foo', 'desc': 'Docs for foo' },
|
|
],
|
|
},
|
|
];
|