about summary refs log tree commit diff
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.js10
1 files changed, 10 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 00000000000..91f517df2ea
--- /dev/null
+++ b/tests/rustdoc-js-std/osstring-to-string.js
@@ -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' },
+    ]
+};