diff options
Diffstat (limited to '')
-rw-r--r-- | tests/rustdoc-js/search-short-types.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-js/search-short-types.js b/tests/rustdoc-js/search-short-types.js new file mode 100644 index 000000000..3b2f15a40 --- /dev/null +++ b/tests/rustdoc-js/search-short-types.js @@ -0,0 +1,9 @@ +const QUERY = 'P'; + +const EXPECTED = { + 'others': [ + { 'path': 'search_short_types', 'name': 'P' }, + { 'path': 'search_short_types::VeryLongTypeName', 'name': 'p' }, + { 'path': 'search_short_types', 'name': 'Pa' }, + ], +}; |