From: Barry Warsaw Date: Fri, 11 Jun 1999 17:51:13 +0000 (+0000) Subject: Two extra startswith tests X-Git-Tag: v1.6a1~1231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=122473fc70ba3c1c5c112b8be78d81a963f3cf6f;p=thirdparty%2FPython%2Fcpython.git Two extra startswith tests --- diff --git a/Lib/test/test_string.py b/Lib/test/test_string.py index 2fa9dd57be34..73ece8ed2bf1 100644 --- a/Lib/test/test_string.py +++ b/Lib/test/test_string.py @@ -103,6 +103,9 @@ test('startswith', 'hello', 1, 'o', 4) test('startswith', 'hello', 0, 'o', 5) test('startswith', 'hello', 1, '', 5) test('startswith', 'hello', 0, 'lo', 6) +test('startswith', 'helloworld', 1, 'lowo', 3) +test('startswith', 'helloworld', 1, 'lowo', 3, 7) +test('startswith', 'helloworld', 0, 'lowo', 3, 6) test('endswith', 'hello', 1, 'lo') test('endswith', 'hello', 0, 'he')