• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package Model
2 
3 import org.jetbrains.dokka.Model.CodeNode
4 import org.junit.Test
5 import kotlin.test.assertEquals
6 
7 class CodeNodeTest {
8 
text_normalisesInitialWhitespacenull9     @Test fun text_normalisesInitialWhitespace() {
10         val expected = "Expected\ntext in this\ttest"
11         val sut = CodeNode("\n \t \r $expected", "")
12         assertEquals(expected, sut.text())
13     }
14 }