]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-js/path-ordering.js
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc-js / path-ordering.js
1 // exact-check
2
3 const QUERY = 'b::ccccccc';
4
5 const EXPECTED = {
6 'others': [
7 // `ccccccc` is an exact match for all three of these.
8 // However `b` is a closer match for `bb` than for any
9 // of the others, so it ought to go first.
10 { 'path': 'path_ordering::bb', 'name': 'Ccccccc' },
11 { 'path': 'path_ordering::aa', 'name': 'Ccccccc' },
12 { 'path': 'path_ordering::dd', 'name': 'Ccccccc' },
13 ],
14 };