fix: correct typo in last test assertion error message (#2)
This commit is contained in:
		
							parent
							
								
									89ccf8cf3c
								
							
						
					
					
						commit
						96469913d0
					
				@ -36,7 +36,8 @@ class UnitTests(unittest.TestCase):
 | 
				
			|||||||
    def test_solutions(self):
 | 
					    def test_solutions(self):
 | 
				
			||||||
        actual = arithmetic_arranger(["32 - 698", "1 - 3801", "45 + 43", "123 + 49"], True)
 | 
					        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"
 | 
					        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__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
    unittest.main()
 | 
					    unittest.main()
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user