Cleanup.
This commit is contained in:
parent
a55fddb77b
commit
c8259385f3
2 changed files with 6 additions and 5 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue