diff --git a/unit-testing.html b/unit-testing.html index 00efbf6..28f0300 100755 --- a/unit-testing.html +++ b/unit-testing.html @@ -137,7 +137,7 @@ if __name__ == '__main__':

Once you have a test case, you can start coding the to_roman() function. First, you should stub it out as an empty function and make sure the tests fail. If the tests succeed before you’ve written any code, you’re doing it wrong — your tests aren’t testing your code at all! Write a test that fails, then code until it passes.

# roman1.py
 
-function to_roman(n):
+def to_roman(n):
     '''convert integer to Roman numeral'''
     pass