diff options
Diffstat (limited to 'tests/rustdoc-js-std/vec-new.js')
-rw-r--r-- | tests/rustdoc-js-std/vec-new.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/vec-new.js b/tests/rustdoc-js-std/vec-new.js new file mode 100644 index 000000000..fc44a566a --- /dev/null +++ b/tests/rustdoc-js-std/vec-new.js @@ -0,0 +1,10 @@ +const QUERY = 'Vec::new'; + +const EXPECTED = { + 'others': [ + { 'path': 'std::vec::Vec', 'name': 'new' }, + { 'path': 'alloc::vec::Vec', 'name': 'new' }, + { 'path': 'std::vec::Vec', 'name': 'new_in' }, + { 'path': 'alloc::vec::Vec', 'name': 'new_in' }, + ], +}; |