Files
rust/tests/rustdoc-js-std/quoted.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
618 B
JavaScript
Raw Normal View History

// make sure quoted search works both for items and and without generics
2021-08-11 20:14:26 +02:00
// ignore-order
const FILTER_CRATE = 'std';
2018-01-22 22:49:44 +01:00
const EXPECTED = {
'query': '"result"',
2018-01-22 22:49:44 +01:00
'others': [
{ 'path': 'std', 'name': 'result' },
{ 'path': 'std::result', 'name': 'Result' },
{ 'path': 'std::fmt', 'name': 'Result' },
2018-01-22 22:49:44 +01:00
],
2021-08-11 20:14:26 +02:00
'in_args': [
{ 'path': 'std::result::Result', 'name': 'branch' },
{ 'path': 'std::result::Result', 'name': 'ok' },
{ 'path': 'std::result::Result', 'name': 'unwrap' },
2021-08-11 20:14:26 +02:00
],
2018-01-22 22:49:44 +01:00
'returned': [
{ 'path': 'std::bool', 'name': 'try_into' },
2018-01-22 22:49:44 +01:00
],
};