From 96469913d08b7bdee6f7e01c3ca1acf2ed4975c4 Mon Sep 17 00:00:00 2001 From: PBM Date: Thu, 4 Feb 2021 01:58:13 +0100 Subject: [PATCH] fix: correct typo in last test assertion error message (#2) --- test_module.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test_module.py b/test_module.py index dee8129..ef0d129 100644 --- a/test_module.py +++ b/test_module.py @@ -36,7 +36,8 @@ class UnitTests(unittest.TestCase): def test_solutions(self): actual = arithmetic_arranger(["32 - 698", "1 - 3801", "45 + 43", "123 + 49"], True) expected = " 32 1 45 123\n- 698 - 3801 + 43 + 49\n----- ------ ---- -----\n -666 -3800 88 172" - self.assertEqual(actual, expected, 'Expected solutions to be correctly displayed in output when calling "arithmetic_arranger()" with arithemetic problems and a second argument of `True`.') + self.assertEqual(actual, expected, 'Expected solutions to be correctly displayed in output when calling "arithmetic_arranger()" with arithmetic problems and a second argument of `True`.') + if __name__ == "__main__": - unittest.main() \ No newline at end of file + unittest.main()