Rewrites InputStringTest with matchers

Issue #2745
This commit is contained in:
Ryan Haining 2023-10-04 20:52:51 -07:00
parent 1466092a59
commit 214dae1b24

View file

@ -1,7 +1,7 @@
package app.aaps.plugins.automation.elements
import app.aaps.plugins.automation.triggers.TriggerTestBase
import org.junit.jupiter.api.Assertions
import com.google.common.truth.Truth.assertThat
import org.junit.jupiter.api.Test
class InputStringTest : TriggerTestBase() {
@ -9,6 +9,6 @@ class InputStringTest : TriggerTestBase() {
@Test fun setValueTest() {
val i = InputString()
i.value = "asd"
Assertions.assertEquals("asd", i.value)
assertThat(i.value).isEqualTo("asd")
}
}
}