summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
-rw-r--r--tests/rustdoc-js-std/osstring-to-string.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/osstring-to-string.js b/tests/rustdoc-js-std/osstring-to-string.js
new file mode 100644
index 000000000..17bb602a5
--- /dev/null
+++ b/tests/rustdoc-js-std/osstring-to-string.js
@@ -0,0 +1,9 @@
+// exact-match
+
+// https://github.com/rust-lang/rust/issues/60485#issuecomment-663900624
+const EXPECTED = {
+ 'query': 'OsString -> String',
+ 'others': [
+ { 'path': 'std::ffi::OsString', 'name': 'into_string' },
+ ]
+};