Minor cleanup
This commit is contained in:
parent
1d85a1c516
commit
d67cf4ace7
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<div><code>mobibot: view</code></div>
|
||||
</li>
|
||||
<li>Performing calculations
|
||||
<div><code>mobibot: calc (floor(sqrt(3)) + 3.14) * 3^2</code></div>
|
||||
<div><code>mobibot: calc (floor(sqrt(3)) + π) * 3^2</code></div>
|
||||
</li>
|
||||
<li>Crypto currencies prices
|
||||
<div><code>mobibot: cryto btc</code></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue