aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-24 15:10:08 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-24 15:10:08 +0300
commitf0a80372cb6fd11cb8326408e0f8429fd97e5de8 (patch)
treef28d20d3bea184f4d206d891f9d5627de31c77ea
parent31c563355515b9d3983edb20064960786ed502a7 (diff)
downloaddokka-f0a80372cb6fd11cb8326408e0f8429fd97e5de8.tar.gz
dokka-f0a80372cb6fd11cb8326408e0f8429fd97e5de8.tar.bz2
dokka-f0a80372cb6fd11cb8326408e0f8429fd97e5de8.zip
Fixed test
-rw-r--r--core/testdata/format/multipleTypeParameterConstraints.kt11
-rw-r--r--core/testdata/format/multipleTypeParameterConstraints.md12
2 files changed, 20 insertions, 3 deletions
diff --git a/core/testdata/format/multipleTypeParameterConstraints.kt b/core/testdata/format/multipleTypeParameterConstraints.kt
index 8fd62e11..9d085c3c 100644
--- a/core/testdata/format/multipleTypeParameterConstraints.kt
+++ b/core/testdata/format/multipleTypeParameterConstraints.kt
@@ -1,2 +1,11 @@
-fun f<T> where T: Appendable, T: CharSequence {
+interface A {
+
+}
+
+interface B {
+
+}
+
+
+fun f<T> where T : A, T : B {
}
diff --git a/core/testdata/format/multipleTypeParameterConstraints.md b/core/testdata/format/multipleTypeParameterConstraints.md
index 74532ffe..5dd45e4e 100644
--- a/core/testdata/format/multipleTypeParameterConstraints.md
+++ b/core/testdata/format/multipleTypeParameterConstraints.md
@@ -1,5 +1,13 @@
-[test](test/index) / [f](test/f)
+[test](test/index) / [A](test/-a)
+
+# A
+
+`interface A`[test](test/index) / [B](test/-b)
+
+# B
+
+`interface B`[test](test/index) / [f](test/f)
# f
-`fun <T : CharSequence> f(): Unit` \ No newline at end of file
+`fun <T> f(): Unit where T : `[`A`](test/-a)`, T : `[`B`](test/-b) \ No newline at end of file