diff --git a/README.md b/README.md index a4bc6b9..3241dd8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ val joke = getJoke() val safe = getJoke(safe = true) val pun = getJoke(category = Category.PUN) ``` -The parameters match the [joke endpoint](/https://v2.jokeapi.dev/#joke-endpoint). +The parameters match the [joke endpoint](https://v2.jokeapi.dev/#joke-endpoint). A `Joke` class instance is returned: @@ -53,7 +53,7 @@ class HttpErrorException( cause: Throwable? = null ) : IOException(message, cause) ``` -- View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/Exceptions.kt)... +- View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/ExceptionsTest.kt)... ## Gradle, Maven, etc. To use with [Gradle](https://gradle.org/), include the following dependency in your build file: @@ -112,7 +112,7 @@ println(lang) error: false code: "fr" ``` -- View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/Exceptions.kt)... +- View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/ApiCallTest.kt)... diff --git a/src/test/kotlin/net/thauvin/erik/jokeapi/GetJokeTest.kt b/src/test/kotlin/net/thauvin/erik/jokeapi/GetJokeTest.kt index bf247f6..bc2b62c 100644 --- a/src/test/kotlin/net/thauvin/erik/jokeapi/GetJokeTest.kt +++ b/src/test/kotlin/net/thauvin/erik/jokeapi/GetJokeTest.kt @@ -1,5 +1,5 @@ /* - * JokeApiTest.kt + * GetJokeTest.kt * * Copyright (c) 2022, Erik C. Thauvin (erik@thauvin.net) * All rights reserved.