rustdoc: add test case for OsString::into_string
This commit is contained in:
parent
ef8ee73fc4
commit
3ed4c17d90
1 changed files with 10 additions and 0 deletions
10
tests/rustdoc-js-std/osstring-to-string.js
Normal file
10
tests/rustdoc-js-std/osstring-to-string.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
// exact-match
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/60485#issuecomment-663900624
|
||||
const QUERY = 'OsString -> String';
|
||||
|
||||
const EXPECTED = {
|
||||
'others': [
|
||||
{ 'path': 'std::ffi::OsString', 'name': 'into_string' },
|
||||
]
|
||||
};
|
Loading…
Add table
Reference in a new issue