Minor cleanup

This commit is contained in:
Erik C. Thauvin 2023-02-15 22:15:50 -08:00
parent 1d85a1c516
commit d67cf4ace7
3 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,7 @@
# mobibot # mobibot
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.10-blue)](https://kotlinlang.org/) [![Kotlin](https://img.shields.io/badge/kotlin-1.8.10-7f52ff.svg)](https://kotlinlang.org)[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_mobibot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_mobibot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot)
[![GitHub CI](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml/badge.svg)](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml) [![GitHub CI](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml/badge.svg)](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml)
[![CircleCI](https://circleci.com/gh/ethauvin/mobibot/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/mobibot/tree/master) [![CircleCI](https://circleci.com/gh/ethauvin/mobibot/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/mobibot/tree/master)

View file

@ -266,8 +266,9 @@ class UtilsTest {
@Test @Test
@Throws(IOException::class) @Throws(IOException::class)
fun testUrlReader() { fun testUrlReader() {
assertThat(URL("https://postman-echo.com/status/200").reader().body, "urlReader()") val reader = URL("https://postman-echo.com/status/200").reader()
.isEqualTo("{\"status\":200}") assertThat(reader.body).isEqualTo("{\n \"status\": 200\n}")
assertThat(reader.responseCode).isEqualTo(200)
} }
@Test @Test

View file

@ -69,7 +69,7 @@
<div><code>mobibot: view</code></div> <div><code>mobibot: view</code></div>
</li> </li>
<li>Performing calculations <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>
<li>Crypto currencies prices <li>Crypto currencies prices
<div><code>mobibot: cryto btc</code></div> <div><code>mobibot: cryto btc</code></div>