Fixed KDocs.

This commit is contained in:
Erik C. Thauvin 2021-06-04 13:15:08 -07:00
parent cb346effa6
commit f492c712bd
7 changed files with 22 additions and 17 deletions

View file

@ -84,6 +84,11 @@ class BitlyTest {
assertEquals(Constants.EMPTY, bitly.bitlinks().shorten(Constants.EMPTY))
}
@Test
fun `long url should not be short`() {
assertEquals(shortUrl, bitly.bitlinks().shorten(shortUrl))
}
@Test
fun `shorten = expand`() {
val shortUrl = bitly.bitlinks().shorten(longUrl, domain = "bit.ly")