Skip to content

Commit 2296a49

Browse files
Jakub KalinowskiiSoron
authored andcommitted
Corrected HabitTest
1 parent 303020a commit 2296a49

File tree

1 file changed

+2
-2
lines changed
  • uhabits-core/src/jvmTest/java/org/isoron/uhabits/core/models

1 file changed

+2
-2
lines changed

uhabits-core/src/jvmTest/java/org/isoron/uhabits/core/models/HabitTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ class HabitTest : BaseUnitTest() {
110110
assertFalse(h.isCompletedToday())
111111
h.originalEntries.add(Entry(getToday(), 100000))
112112
h.recompute()
113-
assertTrue(h.isCompletedToday())
113+
assertFalse(h.isCompletedToday())
114114
h.originalEntries.add(Entry(getToday(), 50000))
115115
h.recompute()
116-
assertTrue(h.isCompletedToday())
116+
assertFalse(h.isCompletedToday())
117117
}
118118

119119
@Test

0 commit comments

Comments
 (0)