Compare commits

..

No commits in common. "86b35874bfb6f5ec5f259cfbc3c1c54cc6a2d20c" and "5a3b1d3f1912eb2b68090ec0733afa11000a3240" have entirely different histories.

3 changed files with 7 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# mobibot
[![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.9.10-7f52ff.svg)](https://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.0-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)
[![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)

View file

@ -54,13 +54,12 @@ class FeedReaderTest {
index(1).prop(Message::msg).contains("erik.thauvin.net")
}
messages = readFeed("https://lorem-rss.herokuapp.com/feed?length=0")
messages = readFeed("https://www.mobitopia.org/mobibot/logs/2021-10-27.xml")
assertThat(messages, "messages").index(0).prop(Message::msg).contains("nothing")
messages = readFeed("https://lorem-rss.herokuapp.com/feed?length=84", 42)
messages = readFeed("https://www.mobitopia.org/mobibot/logs/2005-10-11.xml", 42)
assertThat(messages, "messages").size().isEqualTo(84)
assertThat(messages[messages.size - 2], "messages.size - 2").prop(Message::msg).startsWith("Lorem ipsum")
assertThat(messages.last(), "messages.last").prop(Message::msg).contains("http://example.com/test/")
assertThat(messages.last(), "messages.last").prop(Message::msg).contains("techdigest.tv")
assertFailure { readFeed("blah") }.isInstanceOf(MalformedURLException::class.java)

View file

@ -1,9 +1,9 @@
#Generated by the Semver Plugin for Gradle
#Fri Oct 13 13:31:20 PDT 2023
version.buildmeta=20231013133120
#Wed Oct 04 08:46:27 PDT 2023
version.buildmeta=20231004084627
version.major=0
version.minor=8
version.patch=0
version.prerelease=rc
version.project=mobibot
version.semver=0.8.0-rc+20231013133120
version.semver=0.8.0-rc+20231004084627