aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/website-html/sampleWithAsserts.kt
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-01-10 22:25:11 +0300
committerZubakov Aleksey <aleks.zubakov@gmail.com>2018-08-17 13:00:32 +0300
commita838a096da246babd93dc518dec8d2470d1c14f5 (patch)
treed72f096437653ca2a2f73dc6a91e435f6d6b01b7 /core/testdata/format/website-html/sampleWithAsserts.kt
parentfc517baac7ba381f0f4f2529e59700b1191dd0ce (diff)
downloaddokka-a838a096da246babd93dc518dec8d2470d1c14f5.tar.gz
dokka-a838a096da246babd93dc518dec8d2470d1c14f5.tar.bz2
dokka-a838a096da246babd93dc518dec8d2470d1c14f5.zip
Convert assertFails in kws samples without message properly
Diffstat (limited to 'core/testdata/format/website-html/sampleWithAsserts.kt')
-rw-r--r--core/testdata/format/website-html/sampleWithAsserts.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/testdata/format/website-html/sampleWithAsserts.kt b/core/testdata/format/website-html/sampleWithAsserts.kt
index b3bce11d..bb5848e6 100644
--- a/core/testdata/format/website-html/sampleWithAsserts.kt
+++ b/core/testdata/format/website-html/sampleWithAsserts.kt
@@ -26,6 +26,8 @@ fun sample() {
assertFails("reading file now") { readSomeFile(File("some.txt")) }
assertFailsWith<FileNotFoundException> { readSomeFile(File("some.txt")) }
+ assertFails { readSomeFile(File("some.txt")) }
+
fun indented() {
assertFalse(a() != b(), "A neq B")
}