aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-01 18:44:23 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-01 19:11:13 +0300
commitee824b90249fd1d6d868af998c6826df31ab557b (patch)
tree6fdbfd82218fe6eda0389d6b5b9dbfabd2207d78 /core/src/test
parentb10acb958c5f6eae54c7bea6cfa0d263bbcce55d (diff)
downloaddokka-ee824b90249fd1d6d868af998c6826df31ab557b.tar.gz
dokka-ee824b90249fd1d6d868af998c6826df31ab557b.tar.bz2
dokka-ee824b90249fd1d6d868af998c6826df31ab557b.zip
Fix for GH #95 , KT-13300 : dokka eats apostrophes
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/kotlin/model/CommentTest.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/test/kotlin/model/CommentTest.kt b/core/src/test/kotlin/model/CommentTest.kt
index 5dfd1157..457affee 100644
--- a/core/src/test/kotlin/model/CommentTest.kt
+++ b/core/src/test/kotlin/model/CommentTest.kt
@@ -76,6 +76,14 @@ public class CommentTest {
}
}
+ @Test fun quotes() {
+ verifyModel("testdata/comments/quotes.kt") { model ->
+ with(model.members.single().members.single()) {
+ assertEquals("it's \"useful\"", content.summary.toTestString())
+ }
+ }
+ }
+
@Test fun section1() {
verifyModel("testdata/comments/section1.kt") { model ->
with(model.members.single().members.single()) {