diff options
| author | Michael Howell <michael@notriddle.com> | 2023-06-03 12:00:37 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-06-11 18:19:41 -0700 |
| commit | c897deddb8ed9471cd739fa5ea763d47dbd9a0e3 (patch) | |
| tree | 57786c055b4d54190ccf9490a24d172c24c2c2d1 /tests/rustdoc-js-std | |
| parent | 9946d675793288e7bfb5091fcb99e0dc2fd59ee8 (diff) | |
| download | rust-c897deddb8ed9471cd739fa5ea763d47dbd9a0e3.tar.gz rust-c897deddb8ed9471cd739fa5ea763d47dbd9a0e3.zip | |
rustdoc-search: add test case for `bufread -> result<u8>`
Diffstat (limited to 'tests/rustdoc-js-std')
| -rw-r--r-- | tests/rustdoc-js-std/bufread-fill-buf.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/bufread-fill-buf.js b/tests/rustdoc-js-std/bufread-fill-buf.js new file mode 100644 index 00000000000..a079f32b7c0 --- /dev/null +++ b/tests/rustdoc-js-std/bufread-fill-buf.js @@ -0,0 +1,16 @@ +// ignore-order + +const QUERY = [ + 'bufread -> result<u8>', +]; + +const EXPECTED = [ + { + 'others': [ + { 'path': 'std::io::Split', 'name': 'next' }, + { 'path': 'std::boxed::Box', 'name': 'fill_buf' }, + { 'path': 'std::io::Chain', 'name': 'fill_buf' }, + { 'path': 'std::io::Take', 'name': 'fill_buf' }, + ], + }, +]; |
