diff --git a/README.md b/README.md index 53bcfe4..8105ed3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # mobibot [](https://opensource.org/licenses/BSD-3-Clause) -[](https://kotlinlang.org/) -[](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot) +[](https://kotlinlang.org)[](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot) [](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml) [](https://circleci.com/gh/ethauvin/mobibot/tree/master) diff --git a/src/test/kotlin/net/thauvin/erik/mobibot/UtilsTest.kt b/src/test/kotlin/net/thauvin/erik/mobibot/UtilsTest.kt index 22e37cb..ef0eaaf 100644 --- a/src/test/kotlin/net/thauvin/erik/mobibot/UtilsTest.kt +++ b/src/test/kotlin/net/thauvin/erik/mobibot/UtilsTest.kt @@ -266,8 +266,9 @@ class UtilsTest { @Test @Throws(IOException::class) fun testUrlReader() { - assertThat(URL("https://postman-echo.com/status/200").reader().body, "urlReader()") - .isEqualTo("{\"status\":200}") + val reader = URL("https://postman-echo.com/status/200").reader() + assertThat(reader.body).isEqualTo("{\n \"status\": 200\n}") + assertThat(reader.responseCode).isEqualTo(200) } @Test diff --git a/website/index.html b/website/index.html index be6c33e..97e337d 100644 --- a/website/index.html +++ b/website/index.html @@ -69,7 +69,7 @@
mobibot: view
mobibot: calc (floor(sqrt(3)) + 3.14) * 3^2
mobibot: calc (floor(sqrt(3)) + π) * 3^2
mobibot: cryto btc