diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-09-01 14:31:01 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-09-01 15:16:11 +0200 |
| commit | 05eda416580ff9be12a6cf87238c8047a1699dd3 (patch) | |
| tree | ab39169d3ef24474aceca31ab55aaaf1c66e0003 /tests/rustdoc-js-std/full-path-function.js | |
| parent | 09160b3f4583bbd14d62362fd1126a8232f19c8b (diff) | |
| download | rust-05eda416580ff9be12a6cf87238c8047a1699dd3.tar.gz rust-05eda416580ff9be12a6cf87238c8047a1699dd3.zip | |
Add tests for type-based search
Diffstat (limited to 'tests/rustdoc-js-std/full-path-function.js')
| -rw-r--r-- | tests/rustdoc-js-std/full-path-function.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/full-path-function.js b/tests/rustdoc-js-std/full-path-function.js new file mode 100644 index 00000000000..ac157b3aadf --- /dev/null +++ b/tests/rustdoc-js-std/full-path-function.js @@ -0,0 +1,7 @@ +const EXPECTED = { + 'query': 'vec::vec -> usize', + 'others': [ + { 'path': 'std::vec::Vec', 'name': 'len' }, + { 'path': 'std::vec::Vec', 'name': 'capacity' }, + ], +}; |
