Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Futsch1 committed Feb 20, 2025
1 parent 81553fd commit 4c5eedd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class MedicineHelperTest {
@Test
fun testFormat() {
assertEquals("3.5", MedicineHelper.formatAmount(3.5, ""))
assertEquals("5 pills", MedicineHelper.formatAmount(5.0, "pills "))
assertEquals("5 pills", MedicineHelper.formatAmount(5.0, "pills"))
}
}

0 comments on commit 4c5eedd

Please sign in to comment.