about summary refs log tree commit diff
path: root/tests/rustdoc-js/sort-stability.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/sort-stability.js')
-rw-r--r--tests/rustdoc-js/sort-stability.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-js/sort-stability.js b/tests/rustdoc-js/sort-stability.js
new file mode 100644
index 00000000000..8c095619a08
--- /dev/null
+++ b/tests/rustdoc-js/sort-stability.js
@@ -0,0 +1,9 @@
+const EXPECTED = [
+    {
+        'query': 'foo',
+        'others': [
+            {"path": "sort_stability::old", "name": "foo"},
+            {"path": "sort_stability::new", "name": "foo"},
+        ],
+    },
+];