Skip to content

Commit c9f3c56

Browse files
committed
Corrected tests
1 parent 77ee876 commit c9f3c56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/parser/number/test_dice_parser_number_rollable_mixed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ def test_addAndSub_roll(self):
5858
"""
5959
result = self.parser.parse("1+2-3")
6060

61-
self.assertEqual(3, result.roll())
61+
self.assertEqual(0, result.roll())
6262

6363
def test_subAndAdd_roll(self):
6464
"""
6565
Tests that rolling a parsed numeric subtractions followed by additions returns the expected value.
6666
"""
6767
result = self.parser.parse("3-1+2")
6868

69-
self.assertEqual(-1, result.roll())
69+
self.assertEqual(4, result.roll())

0 commit comments

Comments
 (0)