From fd06096e43d9976298afd213b74f36097c355a47 Mon Sep 17 00:00:00 2001 From: Dan Caseley <dan@caseley.me.uk> Date: Sat, 14 Dec 2024 22:21:46 +0000 Subject: [PATCH] Fix changelog and accompanying test (#2194) * Avoid NPE in changelog test * Fix version in changelog --- CHANGELOG.md | 2 +- .../src/test/kotlin/maestro/cli/util/ChangeLogUtilsTest.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf68e0e5a7..82ec1a9d8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -## 1.39.4 +## 1.39.5 Features: - Add `waitToSettleTimeoutMs` to other swipe related commands ([#2153](https://github.com/mobile-dev-inc/maestro/pull/2153)) diff --git a/maestro-cli/src/test/kotlin/maestro/cli/util/ChangeLogUtilsTest.kt b/maestro-cli/src/test/kotlin/maestro/cli/util/ChangeLogUtilsTest.kt index bdb0ff517e..47a2a5795c 100644 --- a/maestro-cli/src/test/kotlin/maestro/cli/util/ChangeLogUtilsTest.kt +++ b/maestro-cli/src/test/kotlin/maestro/cli/util/ChangeLogUtilsTest.kt @@ -15,6 +15,7 @@ class ChangeLogUtilsTest { val changelog = ChangeLogUtils.formatBody(content, CLI_VERSION.toString()) + assertThat(changelog).isNotNull() assertThat(changelog).isNotEmpty() }