From 352d38acf5db596ad9c3af596d2384546c8deda9 Mon Sep 17 00:00:00 2001 From: Ryan Haining Date: Sat, 23 Sep 2023 18:07:10 -0700 Subject: [PATCH] Rewrites XdripSourcePluginTest with matchers Issue #2745 --- .../java/info/nightscout/source/XdripSourcePluginTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/source/src/test/java/info/nightscout/source/XdripSourcePluginTest.kt b/plugins/source/src/test/java/info/nightscout/source/XdripSourcePluginTest.kt index 4e75aa6bae..d7894915cc 100644 --- a/plugins/source/src/test/java/info/nightscout/source/XdripSourcePluginTest.kt +++ b/plugins/source/src/test/java/info/nightscout/source/XdripSourcePluginTest.kt @@ -1,9 +1,9 @@ package info.nightscout.source import app.aaps.shared.tests.TestBase +import com.google.common.truth.Truth.assertThat import dagger.android.AndroidInjector import info.nightscout.shared.interfaces.ResourceHelper -import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.mockito.Mock @@ -20,6 +20,6 @@ class XdripSourcePluginTest : TestBase() { } @Test fun advancedFilteringSupported() { - Assertions.assertEquals(false, xdripSourcePlugin.advancedFilteringSupported()) + assertThat(xdripSourcePlugin.advancedFilteringSupported()).isFalse() } -} \ No newline at end of file +}