aboutsummaryrefslogtreecommitdiff
path: root/test/src/DiscoveryTest.kt
blob: f854b4d6bd418615d065ac5894ff8478fa00cf67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.jetbrains.dokka.tests

import org.junit.Test
import kotlin.test.*


public class FunctionTest {
    Test fun function() {
        verifyFiles("test/data/function.kt") { model ->
            val item = model.items.single()
            assertEquals("fn", item.name)
            assertEquals("doc", item.doc)
        }
    }
}