diff tests/test_split.py @ 50:1284c99a94fa

stubbing
author Jeff Hammel <k0scist@gmail.com>
date Sat, 16 May 2015 21:02:07 -0700
parents 643c8e92e71e
children c3b69728f291
line wrap: on
line diff
--- a/tests/test_split.py	Sat May 16 20:13:12 2015 -0700
+++ b/tests/test_split.py	Sat May 16 21:02:07 2015 -0700
@@ -19,7 +19,12 @@
         string = 'a cat, a bat'
 
         retval = split.findall(string, 'a')
-        
+        self.assertEqual(retval, [0,3,7,10])
+
+        self.assertEqual(split.findall(string, 't'),
+                         [4, 11])
+
+
 if __name__ == '__main__':
     unittest.main()