diff options
Diffstat (limited to 'tests/rustdoc-js/full-path-function.js')
| -rw-r--r-- | tests/rustdoc-js/full-path-function.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/rustdoc-js/full-path-function.js b/tests/rustdoc-js/full-path-function.js index 9d3c3a4506c..48be51b156f 100644 --- a/tests/rustdoc-js/full-path-function.js +++ b/tests/rustdoc-js/full-path-function.js @@ -22,4 +22,22 @@ const EXPECTED = [ { 'path': 'full_path_function::b::Sac', 'name': 'bar2' }, ], }, + { + 'query': 'string::string -> u32', + 'others': [ + { 'path': 'full_path_function::b::Sac', 'name': 'string' }, + ], + }, + { + 'query': 'alloc::string::string -> u32', + 'others': [ + { 'path': 'full_path_function::b::Sac', 'name': 'string' }, + ], + }, + { + 'query': 'alloc::string -> u32', + 'others': [ + { 'path': 'full_path_function::b::Sac', 'name': 'string' }, + ], + }, ]; |
