summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/deduplication.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js-std/deduplication.js')
-rw-r--r--tests/rustdoc-js-std/deduplication.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/deduplication.js b/tests/rustdoc-js-std/deduplication.js
new file mode 100644
index 000000000..f02f6cf55
--- /dev/null
+++ b/tests/rustdoc-js-std/deduplication.js
@@ -0,0 +1,11 @@
+// ignore-order
+
+const QUERY = 'is_nan';
+
+const EXPECTED = {
+ 'others': [
+ { 'path': 'std::f32', 'name': 'is_nan' },
+ { 'path': 'std::f64', 'name': 'is_nan' },
+ { 'path': 'std::option::Option', 'name': 'is_none' },
+ ],
+};