Upgraded to Gradle 6.6 and Kotlin 1.4.0.

This commit is contained in:
Erik C. Thauvin 2020-08-18 00:12:41 -07:00
parent b12931c6ad
commit 720986b83f
15 changed files with 87 additions and 120 deletions

View file

@ -126,7 +126,7 @@ class BitlyTest {
@Test
fun `bitlinks lastCallResponse`() {
val bl = Bitlinks(bitly.accessToken)
bl.shorten(longUrl, domain="bit.ly")
bl.shorten(longUrl, domain = "bit.ly")
assertEquals(true, bl.lastCallResponse.isSuccessful, "is successful")
assertEquals(200, bl.lastCallResponse.resultCode, "resultCode == 200")
assertTrue(bl.lastCallResponse.body.contains("\"link\":\"$shortUrl\""), "valid body")