From b9508d716a8fd927080d74a925b4503906c6b967 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Thu, 23 Jul 2009 21:15:17 -0400 Subject: [PATCH] typo --- unit-testing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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