summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/generics2.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/generics2.js')
-rw-r--r--tests/rustdoc-js/generics2.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/rustdoc-js/generics2.js b/tests/rustdoc-js/generics2.js
new file mode 100644
index 000000000..f08704349
--- /dev/null
+++ b/tests/rustdoc-js/generics2.js
@@ -0,0 +1,22 @@
+// exact-check
+
+const EXPECTED = [
+ {
+ 'query': 'outside<U>, outside<V> -> outside<W>',
+ 'others': [],
+ },
+ {
+ 'query': 'outside<V>, outside<U> -> outside<W>',
+ 'others': [],
+ },
+ {
+ 'query': 'outside<U>, outside<U> -> outside<W>',
+ 'others': [],
+ },
+ {
+ 'query': 'outside<U>, outside<U> -> outside<U>',
+ 'others': [
+ {"path": "generics2", "name": "should_match_3"}
+ ],
+ },
+];