This commit is contained in:
Erik C. Thauvin 2021-06-11 20:12:54 -07:00
parent a55fddb77b
commit c8259385f3
2 changed files with 6 additions and 5 deletions

View file

@ -54,6 +54,7 @@ class IsgdTest {
Isgd.shorten(shortUrl)
} catch (e: IsgdException) {
assertTrue(e.statusCode == 400, "status code == 400")
assertTrue(e.message!!.startsWith("Error: "), "error message")
}
}