1 package net.pterodactylus.sone.text
3 import org.hamcrest.MatcherAssert.assertThat
4 import org.hamcrest.Matchers.`is`
8 * Unit test for [LinkPart].
13 fun linkIsUsedAsTitleIfNoTitleIsGiven() {
14 assertThat(LinkPart("link", "text").title, `is`("link"))