diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-29 20:00:22 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-29 20:00:22 +0300 |
commit | 46e6c270c4100bcca0cc376791bd515b07483fa6 (patch) | |
tree | 73af0f284e185b37d6611aa20a637c352abd7871 | |
parent | dc85d80e264370d0747f17613b259735f14a2fe1 (diff) | |
download | dokka-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.kt | 4 | ||||
-rw-r--r-- | core/testdata/format/sinceKotlinWide.kt | 11 |
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 |