summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/from_u.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js-std/from_u.js')
-rw-r--r--tests/rustdoc-js-std/from_u.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/from_u.js b/tests/rustdoc-js-std/from_u.js
new file mode 100644
index 000000000..e3f3cd436
--- /dev/null
+++ b/tests/rustdoc-js-std/from_u.js
@@ -0,0 +1,9 @@
+const QUERY = 'from_u';
+
+const EXPECTED = {
+ 'others': [
+ { 'path': 'std::char', 'name': 'from_u32' },
+ { 'path': 'std::str', 'name': 'from_utf8' },
+ { 'path': 'std::string::String', 'name': 'from_utf8' },
+ ],
+};