rustdoc-search: fix order-independence bug

This commit is contained in:
Michael Howell 2023-06-08 23:12:36 -07:00
parent c897deddb8
commit 94badbe599
4 changed files with 212 additions and 77 deletions

View file

@ -1,11 +1,8 @@
// ignore-order
const QUERY = [
'bufread -> result<u8>',
];
const EXPECTED = [
{
'query': 'bufread -> result<u8>',
'others': [
{ 'path': 'std::io::Split', 'name': 'next' },
{ 'path': 'std::boxed::Box', 'name': 'fill_buf' },