aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-29 20:00:22 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-29 20:00:22 +0300
commit46e6c270c4100bcca0cc376791bd515b07483fa6 (patch)
tree73af0f284e185b37d6611aa20a637c352abd7871
parentdc85d80e264370d0747f17613b259735f14a2fe1 (diff)
downloaddokka-46e6c270c4100bcca0cc376791bd515b07483fa6.tar.gz
dokka-46e6c270c4100bcca0cc376791bd515b07483fa6.tar.bz2
dokka-46e6c270c4100bcca0cc376791bd515b07483fa6.zip
Add test for wide range since kotlin versions
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt4
-rw-r--r--core/testdata/format/sinceKotlinWide.kt11
2 files changed, 15 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt
index 2c5422c5..820af361 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -251,6 +251,10 @@ class MarkdownFormatTest {
verifyMarkdownPackage("sinceKotlin")
}
+ @Test fun sinceKotlinWide() {
+ verifyMarkdownPackage("sinceKotlinWide")
+ }
+
@Test fun dynamicType() {
verifyMarkdownNode("dynamicType")
}
diff --git a/core/testdata/format/sinceKotlinWide.kt b/core/testdata/format/sinceKotlinWide.kt
new file mode 100644
index 00000000..fa1eb7de
--- /dev/null
+++ b/core/testdata/format/sinceKotlinWide.kt
@@ -0,0 +1,11 @@
+/**
+ * Useful
+ */
+@SinceKotlin("1.1")
+class `Since1.1`
+
+/**
+ * Useful also
+ */
+@SinceKotlin("1.2")
+class `Since1.2` \ No newline at end of file